Created
February 12, 2019 16:07
-
-
Save dsentker/84e9b5c2cae84660509f35ef93179d6d to your computer and use it in GitHub Desktop.
Ubuntu nohub Example for node 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
# Start service in background | |
nohup node server.js & | |
# Now you can exit SSH console | |
# Later, search for the process to kill it | |
ps -C node # a process id is showd | |
kill 123 # use process id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment