how can i use nohup? #508
fgagliazzo
started this conversation in
General
Replies: 2 comments
-
I'm not sure why that isn't working, although I am not an expert at backgrounding processes in this fashion. Can you try running your server in a screen session perhaps?
You may have to We need a Linux expert up in here! |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think you need to detach both stdout and stderr. Try: nohup node /home/ubuntu/server.js 1>server.out 2>server.out & |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i made this simple script
but it keeps running until it times out in Active Jobs...
Beta Was this translation helpful? Give feedback.
All reactions