Skip to content

Instantly share code, notes, and snippets.

@saimonmoore
Created September 4, 2008 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saimonmoore/8777 to your computer and use it in GitHub Desktop.
Save saimonmoore/8777 to your computer and use it in GitHub Desktop.
# god
# This service maintains a god (http://god.rubyforge.org/) instance from the point the system is
# started until it is shut down again.
description "service god.rb"
author "Saimon Moore <saimon@webtypes.com>"
start on startup
stop on runlevel 0
stop on runlevel 1
stop on runlevel 3
stop on runlevel 6
console output
exec /usr/local/bin/god -D -c /etc/god.conf
respawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment