Skip to content

Instantly share code, notes, and snippets.

Forked from kowsik/couchdb.conf
Created November 28, 2011 01:43
What would you like to do?
Upstart script for CouchDB
# Upstart file at /etc/init/couchdb.conf
# CouchDB
start on runlevel [2345]
stop on runlevel [06]
pre-start script
chown -R couchdb /usr/local/etc/couchdb
chown -R couchdb /usr/local/lib/couchdb
chown -R couchdb /usr/local/var/log/couchdb
end script
exec sudo couchdb /usr/local/bin/couchdb
end script
respawn limit 10 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment