node.js processes with the same name in forever are closed when trying to close only one

前端 未结 2 1568
执念已碎
执念已碎 2020-12-15 23:40

I am deploying two node.js apps on the aws, the two apps are in the paths shown as

/home/ubuntu/nodes/app1/app.js
/home/ubuntu/nodes/app2/app.js
2条回答
  •  伪装坚强ぢ
    2020-12-16 00:35

    You can kill only one process using the index of the process shown in the forever list command. For example, if you type forever stop 1, only the process with the index 1 will be killed

提交回复
热议问题