Skip to content

Instantly share code, notes, and snippets.

@alexlines
Created July 3, 2012 19:35
Show Gist options
  • Select an option

  • Save alexlines/3042305 to your computer and use it in GitHub Desktop.

Select an option

Save alexlines/3042305 to your computer and use it in GitHub Desktop.
# /etc/init/bananastand_editorial.conf
setgid ubuntu
setuid ubuntu
start on runlevel [2345]
stop on runlevel [016]
# log stderr to /var/log/upstart/bananastand_editorial.log
console log
respawn
respawn limit 10 5
chdir /var/www/bananastand_editorial/editorial
exec /usr/bin/python editorial_web_server.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment