Skip to content

Instantly share code, notes, and snippets.

@happy-coding
Created September 1, 2012 07:17
Show Gist options
  • Save happy-coding/3566337 to your computer and use it in GitHub Desktop.
Save happy-coding/3566337 to your computer and use it in GitHub Desktop.
check every 60 seconds for running domain
set daemon 60
check process spawn-fcgi with pidfile /var/run/fastcgi-php.pid
start program = "/opt/spawn-fcgi start" with timeout 60 seconds
stop program = "/opt/spawn-fcgi stop"
if failed host mydomain.com port 80 protocol http then restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment