{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/372","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/372/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/372/events","html_url":"https://github.com/processone/ejabberd/issues/372","id":51234545,"number":372,"title":"Init script does not start ejabberd on Ubuntu 14.04","user":{"login":"flasheater","id":876467,"avatar_url":"https://avatars.githubusercontent.com/u/876467?v=3","gravatar_id":"","url":"https://api.github.com/users/flasheater","html_url":"https://github.com/flasheater","followers_url":"https://api.github.com/users/flasheater/followers","following_url":"https://api.github.com/users/flasheater/following{/other_user}","gists_url":"https://api.github.com/users/flasheater/gists{/gist_id}","starred_url":"https://api.github.com/users/flasheater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flasheater/subscriptions","organizations_url":"https://api.github.com/users/flasheater/orgs","repos_url":"https://api.github.com/users/flasheater/repos","events_url":"https://api.github.com/users/flasheater/events{/privacy}","received_events_url":"https://api.github.com/users/flasheater/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processone/ejabberd/labels/Component:Build","name":"Component:Build","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-12-07T22:31:22Z","updated_at":"2015-07-20T10:01:47Z","closed_at":"2015-02-20T16:00:13Z","body":"After installing ejabberd 14.07 using the binary installer and symlinking ```bin/ejabberd.init``` to ```/etc/init.d/```, running the command ```service ejabberd.init start``` results in\r\n\r\n     # service ejabberd.init start\r\n     Starting ejabberd...\r\n     This command can only be run by root or the user root\r\nMy (temporary?) workaround was to change line 7 in ```ejabberd.init``` to\r\n\r\n      USER=root\r\n\r\nPlease advice."},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/122831486","html_url":"https://github.com/processone/ejabberd/issues/372#issuecomment-122831486","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/372","id":122831486,"user":{"login":"mremond","id":86736,"avatar_url":"https://avatars.githubusercontent.com/u/86736?v=3","gravatar_id":"","url":"https://api.github.com/users/mremond","html_url":"https://github.com/mremond","followers_url":"https://api.github.com/users/mremond/followers","following_url":"https://api.github.com/users/mremond/following{/other_user}","gists_url":"https://api.github.com/users/mremond/gists{/gist_id}","starred_url":"https://api.github.com/users/mremond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mremond/subscriptions","organizations_url":"https://api.github.com/users/mremond/orgs","repos_url":"https://api.github.com/users/mremond/repos","events_url":"https://api.github.com/users/mremond/events{/privacy}","received_events_url":"https://api.github.com/users/mremond/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T10:01:47Z","updated_at":"2015-07-20T10:01:47Z","body":"@boosh if you want to install as non-root, you can use binary installer and point to a place where non-root user has write rights."}}