Proper way to start a background process
1
vote
3
answers
8141
views
I am just trying to start up a basic node.js server on a remote machine in a ssh session. This seems to work:
nohup node server/server.js & disown
Maybe I don't need nohup? what's the "official" way to startup a background process that's not going to get killed by SIGTERM etc? I just want to start a background process then exit the session and have the process continue to run.
Asked by Alexander Mills
(10744 rep)
Aug 19, 2019, 08:05 PM
Last activity: Jun 11, 2020, 08:03 AM
Last activity: Jun 11, 2020, 08:03 AM