Skip to content

Instantly share code, notes, and snippets.

@cstrahan
Created June 4, 2012 22:07
Show Gist options
  • Save cstrahan/2871107 to your computer and use it in GitHub Desktop.
Save cstrahan/2871107 to your computer and use it in GitHub Desktop.
Upstart script for God
description "God process monitoring"
author "Charles Strahan <[email protected]>"
# When to start and stop the service
start on runlevel [2345]
stop on runlevel [016]
# Automatically restart
respawn
# Tell upstart that the process will detach itself to the background
expect fork
# Start god
exec /usr/local/rvm/bin/prod_god -l /var/log/god.log -c /usr/local/conf/god/god.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment