-
-
Save hisplan/24ce69cfc0c558a74439 to your computer and use it in GitHub Desktop.
nohup for node.js server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nohup node server.js > server.log 2>&1& | |
echo $! > server_pid.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment