Answer the question
In order to leave comments, you need to log in
How to run node.js in the background with sudo?
There is a user, in his home directory there is a folder with node.js scripts
The user has the sudo command
So if you run such a command
nohup node /home/user/sc/node/index.js > /dev/null 2>&1 &
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question