{"action":"closed","issue":{"url":"https://api.github.com/repos/wendall911/couchdb-rpm/issues/20","repository_url":"https://api.github.com/repos/wendall911/couchdb-rpm","labels_url":"https://api.github.com/repos/wendall911/couchdb-rpm/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/wendall911/couchdb-rpm/issues/20/comments","events_url":"https://api.github.com/repos/wendall911/couchdb-rpm/issues/20/events","html_url":"https://github.com/wendall911/couchdb-rpm/issues/20","id":149246343,"number":20,"title":"Add PID dir creation to service file","user":{"login":"hcderaad","id":3189378,"avatar_url":"https://avatars.githubusercontent.com/u/3189378?v=3","gravatar_id":"","url":"https://api.github.com/users/hcderaad","html_url":"https://github.com/hcderaad","followers_url":"https://api.github.com/users/hcderaad/followers","following_url":"https://api.github.com/users/hcderaad/following{/other_user}","gists_url":"https://api.github.com/users/hcderaad/gists{/gist_id}","starred_url":"https://api.github.com/users/hcderaad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcderaad/subscriptions","organizations_url":"https://api.github.com/users/hcderaad/orgs","repos_url":"https://api.github.com/users/hcderaad/repos","events_url":"https://api.github.com/users/hcderaad/events{/privacy}","received_events_url":"https://api.github.com/users/hcderaad/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-18T19:19:04Z","updated_at":"2016-04-20T19:35:20Z","closed_at":"2016-04-20T19:35:20Z","body":"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.\r\n\r\nPlease add the following lines to the couchdb.service file (before PID file):\r\n\r\nPermissionsStartOnly=true\r\nExecStartPre=/usr/bin/install -o couchdb -g couchdb -d /var/run/couchdb\r\n"}}