Skip to content

Instantly share code, notes, and snippets.

@kowsik
Created September 2, 2011 00:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kowsik/1187638 to your computer and use it in GitHub Desktop.
Save kowsik/1187638 to your computer and use it in GitHub Desktop.
Upstart script for CouchDB
start on runlevel [2345]
exec su -s /bin/sh -c 'exec "$0" "$@"' couchdb -- /mnt/couch/bin/couchdb
respawn
respawn limit 10 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment