Skip to content

Instantly share code, notes, and snippets.

@mcantelon
Created March 22, 2011 00:18
Show Gist options
  • Save mcantelon/880518 to your computer and use it in GitHub Desktop.
Save mcantelon/880518 to your computer and use it in GitHub Desktop.
roughed out monit conf for node
check process node with pidfile /var/run/node.pid
start program = "start/node/app"
stop program = "stop/noe/app"
if failed host www.myappcom port 80 protocol http
with timeout 25 seconds
then restart
group server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment