Making decent progress, this is my current debian/couchdb.service:

[Unit]
Description=the system-wide CouchDB instance
After=network-online.target

[Service]
Type=simple
ExecStartPre=/bin/mkdir -p /run/couchdb
ExecStartPre=/bin/chown couchdb:couchdb /run/couchdb
ExecStart=/bin/su couchdb -c /usr/bin/couchdb
ExecStopPost=/bin/rm -rf /run/couchdb
Restart=on-failure

[Install]
WantedBy=multi-user.target

If anyone has any feedback, please let me know. Also feedback is welcome
on whether starting CouchDB via systemd is the right path forward. From
my past experience with the upstream SysV init script, I'm all for using
systemd, but others might have use cases I'm not considering.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1457464

Title:
  Init fails to start CouchDB after upgrade to Vivid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/couchdb/+bug/1457464/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to