Skip to content

Instantly share code, notes, and snippets.

@KeithHanson
Created April 2, 2009 17:14
Show Gist options
  • Save KeithHanson/89294 to your computer and use it in GitHub Desktop.
Save KeithHanson/89294 to your computer and use it in GitHub Desktop.
check process thin-1 with pidfile /u/apps/findmytxt/current/tmp/pids/findmytxt-thin.1.pid
group thins
start program = "/usr/bin/thin -y -e production -a 74.50.50.222 -p 30000 -l /u/apps/findmytxt/current/log/findmytxt-thin.log -P /u/apps/findmytxt/current/tmp/pids/findmytxt-thin.pid -s 10 -c /u/apps/findmytxt/current/ -o 1 start"
stop program = "/usr/bin/thin -y -e production -a 74.50.50.222 -p 30000 -l /u/apps/findmytxt/current/log/findmytxt-thin.log -P /u/apps/findmytxt/current/tmp/pids/findmytxt-thin.pid -s 10 -c /u/apps/findmytxt/current/ -o 1 stop"
if 5 restarts within 5 cycles then timeout
depends on swiftiply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment