Answers for "how to stop node js program"

11

node js stop

process.exit();
Posted by: Guest on June-11-2020
0

stop node app

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
Posted by: Guest on June-21-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language