{"action":"created","comment":{"url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/comments/43323421","id":43323421,"diff_hunk":"@@ -54,11 +54,12 @@ case \"$1\" in\n     remove|upgrade|deconfigure)\n         # Restore original snmpd.conf \n         [ ! -f /etc/snmp/snmpd.conf.pre-clearwater-snmp ] || mv /etc/snmp/snmpd.conf.pre-clearwater-snmp /etc/snmp/snmpd.conf\n-        service snmpd restart || true\n \n         # Clean up Monit configuration for snmpd\n         rm -f /etc/monit/conf.d/snmpd.monit\n         reload clearwater-monit &> /dev/null || true\n+\n+        service snmpd restart || true","path":"debian/clearwater-snmpd.prerm","position":10,"original_position":10,"commit_id":"1d17d567ba6d919ae1e913bb7748cb16039996ba","original_commit_id":"1d17d567ba6d919ae1e913bb7748cb16039996ba","user":{"login":"mirw","id":2963879,"avatar_url":"https://avatars.githubusercontent.com/u/2963879?v=3","gravatar_id":"","url":"https://api.github.com/users/mirw","html_url":"https://github.com/mirw","followers_url":"https://api.github.com/users/mirw/followers","following_url":"https://api.github.com/users/mirw/following{/other_user}","gists_url":"https://api.github.com/users/mirw/gists{/gist_id}","starred_url":"https://api.github.com/users/mirw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirw/subscriptions","organizations_url":"https://api.github.com/users/mirw/orgs","repos_url":"https://api.github.com/users/mirw/repos","events_url":"https://api.github.com/users/mirw/events{/privacy}","received_events_url":"https://api.github.com/users/mirw/received_events","type":"User","site_admin":false},"body":"Worth a comment?","created_at":"2015-10-28T21:51:14Z","updated_at":"2015-10-28T21:51:14Z","html_url":"https://github.com/Metaswitch/clearwater-infrastructure/pull/264#discussion_r43323421","pull_request_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/264","_links":{"self":{"href":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/comments/43323421"},"html":{"href":"https://github.com/Metaswitch/clearwater-infrastructure/pull/264#discussion_r43323421"},"pull_request":{"href":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/264"}}},"pull_request":{"url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/264","id":48904288,"html_url":"https://github.com/Metaswitch/clearwater-infrastructure/pull/264","diff_url":"https://github.com/Metaswitch/clearwater-infrastructure/pull/264.diff","patch_url":"https://github.com/Metaswitch/clearwater-infrastructure/pull/264.patch","issue_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/264","number":264,"state":"closed","locked":false,"title":"[Reviewer: Matt] Use stop rather than restart","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},"body":"Matching fix to https://github.com/Metaswitch/clearwater-snmp-handlers/pull/99/files","created_at":"2015-10-27T17:28:31Z","updated_at":"2015-10-28T21:51:14Z","closed_at":"2015-10-28T18:42:32Z","merged_at":"2015-10-28T18:42:32Z","merge_commit_sha":"55a94fc52057751fd791df00ea1ad05f9b6f89de","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},"milestone":null,"commits_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/264/commits","review_comments_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/264/comments","review_comment_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/264/comments","statuses_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/statuses/1d17d567ba6d919ae1e913bb7748cb16039996ba","head":{"label":"Metaswitch:snmpd_stop","ref":"snmpd_stop","sha":"1d17d567ba6d919ae1e913bb7748cb16039996ba","user":{"login":"Metaswitch","id":453759,"avatar_url":"https://avatars.githubusercontent.com/u/453759?v=3","gravatar_id":"","url":"https://api.github.com/users/Metaswitch","html_url":"https://github.com/Metaswitch","followers_url":"https://api.github.com/users/Metaswitch/followers","following_url":"https://api.github.com/users/Metaswitch/following{/other_user}","gists_url":"https://api.github.com/users/Metaswitch/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaswitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaswitch/subscriptions","organizations_url":"https://api.github.com/users/Metaswitch/orgs","repos_url":"https://api.github.com/users/Metaswitch/repos","events_url":"https://api.github.com/users/Metaswitch/events{/privacy}","received_events_url":"https://api.github.com/users/Metaswitch/received_events","type":"Organization","site_admin":false},"repo":{"id":9885334,"name":"clearwater-infrastructure","full_name":"Metaswitch/clearwater-infrastructure","owner":{"login":"Metaswitch","id":453759,"avatar_url":"https://avatars.githubusercontent.com/u/453759?v=3","gravatar_id":"","url":"https://api.github.com/users/Metaswitch","html_url":"https://github.com/Metaswitch","followers_url":"https://api.github.com/users/Metaswitch/followers","following_url":"https://api.github.com/users/Metaswitch/following{/other_user}","gists_url":"https://api.github.com/users/Metaswitch/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaswitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaswitch/subscriptions","organizations_url":"https://api.github.com/users/Metaswitch/orgs","repos_url":"https://api.github.com/users/Metaswitch/repos","events_url":"https://api.github.com/users/Metaswitch/events{/privacy}","received_events_url":"https://api.github.com/users/Metaswitch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Metaswitch/clearwater-infrastructure","description":"Clearwater infrastructure Debian packages","fork":false,"url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure","forks_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/forks","keys_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/teams","hooks_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/hooks","issue_events_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/events{/number}","events_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/events","assignees_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/assignees{/user}","branches_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/branches{/branch}","tags_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/tags","blobs_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/git/refs{/sha}","trees_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/statuses/{sha}","languages_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/languages","stargazers_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/stargazers","contributors_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/contributors","subscribers_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/subscribers","subscription_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/subscription","commits_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/commits{/sha}","git_commits_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/git/commits{/sha}","comments_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/comments{/number}","issue_comment_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/comments{/number}","contents_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/contents/{+path}","compare_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/merges","archive_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/downloads","issues_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues{/number}","pulls_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls{/number}","milestones_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/milestones{/number}","notifications_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/labels{/name}","releases_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/releases{/id}","created_at":"2013-05-06T11:25:13Z","updated_at":"2015-06-24T06:23:06Z","pushed_at":"2015-10-28T19:04:36Z","git_url":"git://github.com/Metaswitch/clearwater-infrastructure.git","ssh_url":"git@github.com:Metaswitch/clearwater-infrastructure.git","clone_url":"https://github.com/Metaswitch/clearwater-infrastructure.git","svn_url":"https://github.com/Metaswitch/clearwater-infrastructure","homepage":null,"size":2308,"stargazers_count":7,"watchers_count":7,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":19,"forks":8,"open_issues":19,"watchers":7,"default_branch":"master"}},"base":{"label":"Metaswitch:master","ref":"master","sha":"b1f8482228558c22b23e40c5e83d588f6834932c","user":{"login":"Metaswitch","id":453759,"avatar_url":"https://avatars.githubusercontent.com/u/453759?v=3","gravatar_id":"","url":"https://api.github.com/users/Metaswitch","html_url":"https://github.com/Metaswitch","followers_url":"https://api.github.com/users/Metaswitch/followers","following_url":"https://api.github.com/users/Metaswitch/following{/other_user}","gists_url":"https://api.github.com/users/Metaswitch/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaswitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaswitch/subscriptions","organizations_url":"https://api.github.com/users/Metaswitch/orgs","repos_url":"https://api.github.com/users/Metaswitch/repos","events_url":"https://api.github.com/users/Metaswitch/events{/privacy}","received_events_url":"https://api.github.com/users/Metaswitch/received_events","type":"Organization","site_admin":false},"repo":{"id":9885334,"name":"clearwater-infrastructure","full_name":"Metaswitch/clearwater-infrastructure","owner":{"login":"Metaswitch","id":453759,"avatar_url":"https://avatars.githubusercontent.com/u/453759?v=3","gravatar_id":"","url":"https://api.github.com/users/Metaswitch","html_url":"https://github.com/Metaswitch","followers_url":"https://api.github.com/users/Metaswitch/followers","following_url":"https://api.github.com/users/Metaswitch/following{/other_user}","gists_url":"https://api.github.com/users/Metaswitch/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaswitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaswitch/subscriptions","organizations_url":"https://api.github.com/users/Metaswitch/orgs","repos_url":"https://api.github.com/users/Metaswitch/repos","events_url":"https://api.github.com/users/Metaswitch/events{/privacy}","received_events_url":"https://api.github.com/users/Metaswitch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Metaswitch/clearwater-infrastructure","description":"Clearwater infrastructure Debian packages","fork":false,"url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure","forks_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/forks","keys_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/teams","hooks_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/hooks","issue_events_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/events{/number}","events_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/events","assignees_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/assignees{/user}","branches_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/branches{/branch}","tags_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/tags","blobs_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/git/refs{/sha}","trees_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/statuses/{sha}","languages_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/languages","stargazers_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/stargazers","contributors_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/contributors","subscribers_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/subscribers","subscription_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/subscription","commits_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/commits{/sha}","git_commits_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/git/commits{/sha}","comments_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/comments{/number}","issue_comment_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/comments{/number}","contents_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/contents/{+path}","compare_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/merges","archive_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/downloads","issues_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues{/number}","pulls_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls{/number}","milestones_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/milestones{/number}","notifications_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/labels{/name}","releases_url":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/releases{/id}","created_at":"2013-05-06T11:25:13Z","updated_at":"2015-06-24T06:23:06Z","pushed_at":"2015-10-28T19:04:36Z","git_url":"git://github.com/Metaswitch/clearwater-infrastructure.git","ssh_url":"git@github.com:Metaswitch/clearwater-infrastructure.git","clone_url":"https://github.com/Metaswitch/clearwater-infrastructure.git","svn_url":"https://github.com/Metaswitch/clearwater-infrastructure","homepage":null,"size":2308,"stargazers_count":7,"watchers_count":7,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":19,"forks":8,"open_issues":19,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/264"},"html":{"href":"https://github.com/Metaswitch/clearwater-infrastructure/pull/264"},"issue":{"href":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/264"},"comments":{"href":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/issues/264/comments"},"review_comments":{"href":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/264/comments"},"review_comment":{"href":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/pulls/264/commits"},"statuses":{"href":"https://api.github.com/repos/Metaswitch/clearwater-infrastructure/statuses/1d17d567ba6d919ae1e913bb7748cb16039996ba"}}}}