wendall911 / couchdb-rpm

Sources for RPM packages for CouchDB
23 stars 11 forks source link

Add PID dir creation to service file #20

Closed hcderaad closed 8 years ago

hcderaad commented 8 years ago

The current service file does not create the directory for the PID file, so starting couchdb works, but then performing any action on it makes it die.

Please add the following lines to the couchdb.service file (before PID file):

PermissionsStartOnly=true ExecStartPre=/usr/bin/install -o couchdb -g couchdb -d /var/run/couchdb

wendall911 commented 8 years ago

@hcderaad Thank you for letting me know. I've added it to master and 1.6.x branches.

hcderaad commented 8 years ago

Thanks for picking this up so swiftly!