{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef-rfc/issues/197","repository_url":"https://api.github.com/repos/chef/chef-rfc","labels_url":"https://api.github.com/repos/chef/chef-rfc/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-rfc/issues/197/comments","events_url":"https://api.github.com/repos/chef/chef-rfc/issues/197/events","html_url":"https://github.com/chef/chef-rfc/pull/197","id":151512309,"number":197,"title":"do not deprecate exit code 3","user":{"login":"majuscule","id":187737,"avatar_url":"https://avatars.githubusercontent.com/u/187737?v=3","gravatar_id":"","url":"https://api.github.com/users/majuscule","html_url":"https://github.com/majuscule","followers_url":"https://api.github.com/users/majuscule/followers","following_url":"https://api.github.com/users/majuscule/following{/other_user}","gists_url":"https://api.github.com/users/majuscule/gists{/gist_id}","starred_url":"https://api.github.com/users/majuscule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majuscule/subscriptions","organizations_url":"https://api.github.com/users/majuscule/orgs","repos_url":"https://api.github.com/users/majuscule/repos","events_url":"https://api.github.com/users/majuscule/events{/privacy}","received_events_url":"https://api.github.com/users/majuscule/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-27T23:04:37Z","updated_at":"2016-05-02T20:24:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/chef-rfc/pulls/197","html_url":"https://github.com/chef/chef-rfc/pull/197","diff_url":"https://github.com/chef/chef-rfc/pull/197.diff","patch_url":"https://github.com/chef/chef-rfc/pull/197.patch"},"body":"The exit code 3 is useful to prevent service management systems from\r\nmarking the service as failed when they are explicitly stopped.\r\n\r\nAn example using this functionality is here:\r\nhttps://github.com/chef-cookbooks/chef-client/pull/389"},"comment":{"url":"https://api.github.com/repos/chef/chef-rfc/issues/comments/216352282","html_url":"https://github.com/chef/chef-rfc/pull/197#issuecomment-216352282","issue_url":"https://api.github.com/repos/chef/chef-rfc/issues/197","id":216352282,"user":{"login":"tbunnyman","id":718435,"avatar_url":"https://avatars.githubusercontent.com/u/718435?v=3","gravatar_id":"","url":"https://api.github.com/users/tbunnyman","html_url":"https://github.com/tbunnyman","followers_url":"https://api.github.com/users/tbunnyman/followers","following_url":"https://api.github.com/users/tbunnyman/following{/other_user}","gists_url":"https://api.github.com/users/tbunnyman/gists{/gist_id}","starred_url":"https://api.github.com/users/tbunnyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbunnyman/subscriptions","organizations_url":"https://api.github.com/users/tbunnyman/orgs","repos_url":"https://api.github.com/users/tbunnyman/repos","events_url":"https://api.github.com/users/tbunnyman/events{/privacy}","received_events_url":"https://api.github.com/users/tbunnyman/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T20:24:44Z","updated_at":"2016-05-02T20:24:44Z","body":"You can indeed catch these, allowing your process to cleanup after itself before halt.\r\nYou should not however abuse this and override."}}