{"action":"created","issue":{"url":"https://api.github.com/repos/Metaswitch/clearwater-monit/issues/34","repository_url":"https://api.github.com/repos/Metaswitch/clearwater-monit","labels_url":"https://api.github.com/repos/Metaswitch/clearwater-monit/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Metaswitch/clearwater-monit/issues/34/comments","events_url":"https://api.github.com/repos/Metaswitch/clearwater-monit/issues/34/events","html_url":"https://github.com/Metaswitch/clearwater-monit/pull/34","id":164802801,"number":34,"title":"[Reviewer: Ellie] Have process restart set to 'always', to cover when PID is killed","user":{"login":"johadalin","id":14074163,"avatar_url":"https://avatars.githubusercontent.com/u/14074163?v=3","gravatar_id":"","url":"https://api.github.com/users/johadalin","html_url":"https://github.com/johadalin","followers_url":"https://api.github.com/users/johadalin/followers","following_url":"https://api.github.com/users/johadalin/following{/other_user}","gists_url":"https://api.github.com/users/johadalin/gists{/gist_id}","starred_url":"https://api.github.com/users/johadalin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johadalin/subscriptions","organizations_url":"https://api.github.com/users/johadalin/orgs","repos_url":"https://api.github.com/users/johadalin/repos","events_url":"https://api.github.com/users/johadalin/events{/privacy}","received_events_url":"https://api.github.com/users/johadalin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"eleanor-merry","id":5425325,"avatar_url":"https://avatars.githubusercontent.com/u/5425325?v=3","gravatar_id":"","url":"https://api.github.com/users/eleanor-merry","html_url":"https://github.com/eleanor-merry","followers_url":"https://api.github.com/users/eleanor-merry/followers","following_url":"https://api.github.com/users/eleanor-merry/following{/other_user}","gists_url":"https://api.github.com/users/eleanor-merry/gists{/gist_id}","starred_url":"https://api.github.com/users/eleanor-merry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eleanor-merry/subscriptions","organizations_url":"https://api.github.com/users/eleanor-merry/orgs","repos_url":"https://api.github.com/users/eleanor-merry/repos","events_url":"https://api.github.com/users/eleanor-merry/events{/privacy}","received_events_url":"https://api.github.com/users/eleanor-merry/received_events","type":"User","site_admin":false},"assignees":[{"login":"eleanor-merry","id":5425325,"avatar_url":"https://avatars.githubusercontent.com/u/5425325?v=3","gravatar_id":"","url":"https://api.github.com/users/eleanor-merry","html_url":"https://github.com/eleanor-merry","followers_url":"https://api.github.com/users/eleanor-merry/followers","following_url":"https://api.github.com/users/eleanor-merry/following{/other_user}","gists_url":"https://api.github.com/users/eleanor-merry/gists{/gist_id}","starred_url":"https://api.github.com/users/eleanor-merry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eleanor-merry/subscriptions","organizations_url":"https://api.github.com/users/eleanor-merry/orgs","repos_url":"https://api.github.com/users/eleanor-merry/repos","events_url":"https://api.github.com/users/eleanor-merry/events{/privacy}","received_events_url":"https://api.github.com/users/eleanor-merry/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-07-11T10:08:49Z","updated_at":"2016-07-11T14:06:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Metaswitch/clearwater-monit/pulls/34","html_url":"https://github.com/Metaswitch/clearwater-monit/pull/34","diff_url":"https://github.com/Metaswitch/clearwater-monit/pull/34.diff","patch_url":"https://github.com/Metaswitch/clearwater-monit/pull/34.patch"},"body":"This means the process comes back when stopped with `sudo kill <PID>`.\r\nUnlike we worried though, the process is not then unstoppable, as systemd treats any command issued through it as special (See the Restart= section in https://www.freedesktop.org/software/systemd/man/systemd.service.html ). \r\nAs such, running `sudo service <blah> stop` still stops the process until it is manually started again.\r\n\r\nI have tested this with Monit only at the moment, and will link this PR in the others that have a similar change."},"comment":{"url":"https://api.github.com/repos/Metaswitch/clearwater-monit/issues/comments/231744374","html_url":"https://github.com/Metaswitch/clearwater-monit/pull/34#issuecomment-231744374","issue_url":"https://api.github.com/repos/Metaswitch/clearwater-monit/issues/34","id":231744374,"user":{"login":"eleanor-merry","id":5425325,"avatar_url":"https://avatars.githubusercontent.com/u/5425325?v=3","gravatar_id":"","url":"https://api.github.com/users/eleanor-merry","html_url":"https://github.com/eleanor-merry","followers_url":"https://api.github.com/users/eleanor-merry/followers","following_url":"https://api.github.com/users/eleanor-merry/following{/other_user}","gists_url":"https://api.github.com/users/eleanor-merry/gists{/gist_id}","starred_url":"https://api.github.com/users/eleanor-merry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eleanor-merry/subscriptions","organizations_url":"https://api.github.com/users/eleanor-merry/orgs","repos_url":"https://api.github.com/users/eleanor-merry/repos","events_url":"https://api.github.com/users/eleanor-merry/events{/privacy}","received_events_url":"https://api.github.com/users/eleanor-merry/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T14:06:18Z","updated_at":"2016-07-11T14:06:18Z","body":"LGTM"}}
{"actor":{"display_login":"eleanor-merry"}}