How to run multiple app using PM2?

前端 未结 4 857
北荒
北荒 2021-01-21 07:02

I want to run my angular4 app using PM2 it will run but when I am close the terminal it will stop.

  1. On this server already run

4条回答
  •  别那么骄傲
    2021-01-21 07:26

    If you are running the same script multiple times, with different parameters for instance, just give them different names.

    i.e.

    PM2 Start Engage.js --name Warp1

    PM2 Start Engage.js --name Warp2

    PM2 Start Engage.js --name Impulse

提交回复
热议问题