📜  停止节点应用程序 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:28.035000             🧑  作者: Mango

代码示例1
If it's just running (not a daemon) then just use Ctrl-C.
If it's daemonized then you could try:
$ ps aux | grep node
you   PID  1.5  0.2  44172  8260 pts/2    S    15:25   0:00 node app.js
$ kill -2 PID