{"action":"closed","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/434","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/434/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/434/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/434/events","html_url":"https://github.com/processone/ejabberd/issues/434","id":57483644,"number":434,"title":"Systemd start script","user":{"login":"tuxmaster","id":6240474,"avatar_url":"https://avatars.githubusercontent.com/u/6240474?v=3","gravatar_id":"","url":"https://api.github.com/users/tuxmaster","html_url":"https://github.com/tuxmaster","followers_url":"https://api.github.com/users/tuxmaster/followers","following_url":"https://api.github.com/users/tuxmaster/following{/other_user}","gists_url":"https://api.github.com/users/tuxmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/tuxmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuxmaster/subscriptions","organizations_url":"https://api.github.com/users/tuxmaster/orgs","repos_url":"https://api.github.com/users/tuxmaster/repos","events_url":"https://api.github.com/users/tuxmaster/events{/privacy}","received_events_url":"https://api.github.com/users/tuxmaster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processone/ejabberd/labels/Component:Admin%20Tools","name":"Component:Admin Tools","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/processone/ejabberd/milestones/1","labels_url":"https://api.github.com/repos/processone/ejabberd/milestones/1/labels","id":988517,"number":1,"title":"ejabberd 15.03","description":"","creator":{"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},"open_issues":5,"closed_issues":2,"state":"open","created_at":"2015-02-20T16:23:58Z","updated_at":"2015-02-23T14:53:16Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-02-12T16:31:48Z","updated_at":"2015-02-23T14:53:16Z","closed_at":"2015-02-23T14:53:16Z","body":"Hello,\r\nin install package, only an init.d start script is included.\r\nTo use systemd, the following can be used:\r\n/usr/lib/systemd/system/ejabberd.service\r\n[Unit]\r\nDescription=XMPP Server\r\nAfter=network.target\r\n\r\n[Service]\r\nUser=ejabberd\r\nGroup=ejabberd\r\nLimitNOFILE=16000\r\nRestartSec=5\r\nExecStart=/usr/bin/bash /opt/ejabberd/bin/ejabberdctl start\r\nExecStop=/opt/ejabberd/bin/ejabberdctl stop\r\nType=oneshot\r\nRemainAfterExit=yes\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n\r\nThis was used under Fedora."}}