Skip to content

Instantly share code, notes, and snippets.

@CreatiCoding
Created October 6, 2018 03:25
Show Gist options
  • Select an option

  • Save CreatiCoding/e5b0def3ba865adf035a95ea93f13ac2 to your computer and use it in GitHub Desktop.

Select an option

Save CreatiCoding/e5b0def3ba865adf035a95ea93f13ac2 to your computer and use it in GitHub Desktop.
start nodemon with nohup without output file
# in service.sh
nohup ./start.sh </dev/null >/dev/null 2>&1 &
# in start.sh
PORT=8080 nodemon ./bin/www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment