Skip to content

Instantly share code, notes, and snippets.

@bsphere
Last active December 10, 2015 22:28
Show Gist options
  • Save bsphere/4502233 to your computer and use it in GitHub Desktop.
Save bsphere/4502233 to your computer and use it in GitHub Desktop.
Monit config file for Node.js and Upstart
check host localhost with address 127.0.0.1
start "/sbin/start myapp"
stop "/sbin/stop myapp"
if failed port 3000 protocol HTTP
request /
with timeout 5 seconds
then restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment