/etc/init/couchdb.conf is in couchdb 1.6.0-0ubuntu7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # couchdb - a RESTful document oriented database
description "Start the system-wide CouchDB instance"
author "Jason Gerard DeRose <jason@system76.com>"
start on filesystem and static-network-up
stop on deconfiguring-networking
respawn
pre-start script
mkdir -p /var/run/couchdb
chown couchdb:couchdb /var/run/couchdb
end script
exec su couchdb -c /usr/bin/couchdb
post-stop script
rm -rf /var/run/couchdb
end script
|