{"action":"created","issue":{"url":"https://api.github.com/repos/Sonarr/Sonarr/issues/1162","repository_url":"https://api.github.com/repos/Sonarr/Sonarr","labels_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/1162/labels{/name}","comments_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/1162/comments","events_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/1162/events","html_url":"https://github.com/Sonarr/Sonarr/issues/1162","id":137260341,"number":1162,"title":"[WIKI] Systemd autostart","user":{"login":"d2dyno","id":2421939,"avatar_url":"https://avatars.githubusercontent.com/u/2421939?v=3","gravatar_id":"","url":"https://api.github.com/users/d2dyno","html_url":"https://github.com/d2dyno","followers_url":"https://api.github.com/users/d2dyno/followers","following_url":"https://api.github.com/users/d2dyno/following{/other_user}","gists_url":"https://api.github.com/users/d2dyno/gists{/gist_id}","starred_url":"https://api.github.com/users/d2dyno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d2dyno/subscriptions","organizations_url":"https://api.github.com/users/d2dyno/orgs","repos_url":"https://api.github.com/users/d2dyno/repos","events_url":"https://api.github.com/users/d2dyno/events{/privacy}","received_events_url":"https://api.github.com/users/d2dyno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-29T13:50:21Z","updated_at":"2016-02-29T15:34:11Z","closed_at":null,"body":"The Systemd autostart script example given on the wiki page '[Autostart on Linux](https://github.com/Sonarr/Sonarr/wiki/Autostart-on-Linux)', does not work on Linux (Ubuntu specifically). The first and last EOF lines cause an error, and the ExecStart arguments should be separated like so (found on internet):\r\n\r\n```\r\nEnvironment=statedir=/opt/NzbDrone\r\nExecStart=/usr/bin/mono  ${statedir}/NzbDrone.exe\r\n```"},"comment":{"url":"https://api.github.com/repos/Sonarr/Sonarr/issues/comments/190258638","html_url":"https://github.com/Sonarr/Sonarr/issues/1162#issuecomment-190258638","issue_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/1162","id":190258638,"user":{"login":"Taloth","id":6383890,"avatar_url":"https://avatars.githubusercontent.com/u/6383890?v=3","gravatar_id":"","url":"https://api.github.com/users/Taloth","html_url":"https://github.com/Taloth","followers_url":"https://api.github.com/users/Taloth/followers","following_url":"https://api.github.com/users/Taloth/following{/other_user}","gists_url":"https://api.github.com/users/Taloth/gists{/gist_id}","starred_url":"https://api.github.com/users/Taloth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taloth/subscriptions","organizations_url":"https://api.github.com/users/Taloth/orgs","repos_url":"https://api.github.com/users/Taloth/repos","events_url":"https://api.github.com/users/Taloth/events{/privacy}","received_events_url":"https://api.github.com/users/Taloth/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T15:34:11Z","updated_at":"2016-02-29T15:34:11Z","body":"First: http://stackoverflow.com/questions/2500436/how-does-cat-eof-work-in-bash\n\nSecondly, what's wrong with:   \nExecStart=/usr/bin/mono /opt/NzbDrone/NzbDrone.exe"}}