Created
June 4, 2012 22:07
-
-
Save cstrahan/2871107 to your computer and use it in GitHub Desktop.
Upstart script for God
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "God process monitoring" | |
author "Charles Strahan <charles.c.strahan@gmail.com>" | |
# 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