Skip to content

Instantly share code, notes, and snippets.

@behrad
Forked from bsphere/myapp.conf
Created October 13, 2013 07:56
Show Gist options
  • Save behrad/6959421 to your computer and use it in GitHub Desktop.
Save behrad/6959421 to your computer and use it in GitHub Desktop.
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