{"action":"closed","number":87,"pull_request":{"url":"https://api.github.com/repos/Neilpang/le/pulls/87","id":61992014,"html_url":"https://github.com/Neilpang/le/pull/87","diff_url":"https://github.com/Neilpang/le/pull/87.diff","patch_url":"https://github.com/Neilpang/le/pull/87.patch","issue_url":"https://api.github.com/repos/Neilpang/le/issues/87","number":87,"state":"closed","locked":false,"title":"Add post-renew hook","user":{"login":"theit8514","id":1175401,"avatar_url":"https://avatars.githubusercontent.com/u/1175401?v=3","gravatar_id":"","url":"https://api.github.com/users/theit8514","html_url":"https://github.com/theit8514","followers_url":"https://api.github.com/users/theit8514/followers","following_url":"https://api.github.com/users/theit8514/following{/other_user}","gists_url":"https://api.github.com/users/theit8514/gists{/gist_id}","starred_url":"https://api.github.com/users/theit8514/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theit8514/subscriptions","organizations_url":"https://api.github.com/users/theit8514/orgs","repos_url":"https://api.github.com/users/theit8514/repos","events_url":"https://api.github.com/users/theit8514/events{/privacy}","received_events_url":"https://api.github.com/users/theit8514/received_events","type":"User","site_admin":false},"body":"Allows for running commands when the certificate is renewed. The command is only run if a) the file exists and is executable by the current user and b) the certificate renewal was a success.\r\n\r\nI needed a way to send the key to ESXi when the cert was renewed. The following is an example of a post-renew.sh file:\r\n\r\n    #!/bin/bash\r\n\r\n    scp esx.example.com.cer root@esx:/etc/vmware/ssl/rui.crt\r\n    scp esx.example.com.key root@esx:/etc/vmware/ssl/rui.key\r\n    ssh root@esx 'services.sh restart' > restart.log","created_at":"2016-03-07T22:27:26Z","updated_at":"2016-03-08T12:17:29Z","closed_at":"2016-03-08T12:17:29Z","merged_at":"2016-03-08T12:17:29Z","merge_commit_sha":"953d97fbfe65a4a47b3c8fe913d0bfcddc7adfba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Neilpang/le/pulls/87/commits","review_comments_url":"https://api.github.com/repos/Neilpang/le/pulls/87/comments","review_comment_url":"https://api.github.com/repos/Neilpang/le/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Neilpang/le/issues/87/comments","statuses_url":"https://api.github.com/repos/Neilpang/le/statuses/eef38fccfe9b60ee52474e5f298ca9d10f288215","head":{"label":"theit8514:pr-post-renew","ref":"pr-post-renew","sha":"eef38fccfe9b60ee52474e5f298ca9d10f288215","user":{"login":"theit8514","id":1175401,"avatar_url":"https://avatars.githubusercontent.com/u/1175401?v=3","gravatar_id":"","url":"https://api.github.com/users/theit8514","html_url":"https://github.com/theit8514","followers_url":"https://api.github.com/users/theit8514/followers","following_url":"https://api.github.com/users/theit8514/following{/other_user}","gists_url":"https://api.github.com/users/theit8514/gists{/gist_id}","starred_url":"https://api.github.com/users/theit8514/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theit8514/subscriptions","organizations_url":"https://api.github.com/users/theit8514/orgs","repos_url":"https://api.github.com/users/theit8514/repos","events_url":"https://api.github.com/users/theit8514/events{/privacy}","received_events_url":"https://api.github.com/users/theit8514/received_events","type":"User","site_admin":false},"repo":{"id":53357954,"name":"le","full_name":"theit8514/le","owner":{"login":"theit8514","id":1175401,"avatar_url":"https://avatars.githubusercontent.com/u/1175401?v=3","gravatar_id":"","url":"https://api.github.com/users/theit8514","html_url":"https://github.com/theit8514","followers_url":"https://api.github.com/users/theit8514/followers","following_url":"https://api.github.com/users/theit8514/following{/other_user}","gists_url":"https://api.github.com/users/theit8514/gists{/gist_id}","starred_url":"https://api.github.com/users/theit8514/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theit8514/subscriptions","organizations_url":"https://api.github.com/users/theit8514/orgs","repos_url":"https://api.github.com/users/theit8514/repos","events_url":"https://api.github.com/users/theit8514/events{/privacy}","received_events_url":"https://api.github.com/users/theit8514/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/theit8514/le","description":"Simplest shell script for LetsEncrypt free Certificate client","fork":true,"url":"https://api.github.com/repos/theit8514/le","forks_url":"https://api.github.com/repos/theit8514/le/forks","keys_url":"https://api.github.com/repos/theit8514/le/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theit8514/le/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theit8514/le/teams","hooks_url":"https://api.github.com/repos/theit8514/le/hooks","issue_events_url":"https://api.github.com/repos/theit8514/le/issues/events{/number}","events_url":"https://api.github.com/repos/theit8514/le/events","assignees_url":"https://api.github.com/repos/theit8514/le/assignees{/user}","branches_url":"https://api.github.com/repos/theit8514/le/branches{/branch}","tags_url":"https://api.github.com/repos/theit8514/le/tags","blobs_url":"https://api.github.com/repos/theit8514/le/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theit8514/le/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theit8514/le/git/refs{/sha}","trees_url":"https://api.github.com/repos/theit8514/le/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theit8514/le/statuses/{sha}","languages_url":"https://api.github.com/repos/theit8514/le/languages","stargazers_url":"https://api.github.com/repos/theit8514/le/stargazers","contributors_url":"https://api.github.com/repos/theit8514/le/contributors","subscribers_url":"https://api.github.com/repos/theit8514/le/subscribers","subscription_url":"https://api.github.com/repos/theit8514/le/subscription","commits_url":"https://api.github.com/repos/theit8514/le/commits{/sha}","git_commits_url":"https://api.github.com/repos/theit8514/le/git/commits{/sha}","comments_url":"https://api.github.com/repos/theit8514/le/comments{/number}","issue_comment_url":"https://api.github.com/repos/theit8514/le/issues/comments{/number}","contents_url":"https://api.github.com/repos/theit8514/le/contents/{+path}","compare_url":"https://api.github.com/repos/theit8514/le/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theit8514/le/merges","archive_url":"https://api.github.com/repos/theit8514/le/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theit8514/le/downloads","issues_url":"https://api.github.com/repos/theit8514/le/issues{/number}","pulls_url":"https://api.github.com/repos/theit8514/le/pulls{/number}","milestones_url":"https://api.github.com/repos/theit8514/le/milestones{/number}","notifications_url":"https://api.github.com/repos/theit8514/le/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theit8514/le/labels{/name}","releases_url":"https://api.github.com/repos/theit8514/le/releases{/id}","deployments_url":"https://api.github.com/repos/theit8514/le/deployments","created_at":"2016-03-07T20:48:12Z","updated_at":"2016-03-07T20:48:13Z","pushed_at":"2016-03-08T03:27:59Z","git_url":"git://github.com/theit8514/le.git","ssh_url":"git@github.com:theit8514/le.git","clone_url":"https://github.com/theit8514/le.git","svn_url":"https://github.com/theit8514/le","homepage":null,"size":185,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Neilpang:master","ref":"master","sha":"d6863a09a6a3d3b69dedc55b6045efb835ad9d69","user":{"login":"Neilpang","id":8305679,"avatar_url":"https://avatars.githubusercontent.com/u/8305679?v=3","gravatar_id":"","url":"https://api.github.com/users/Neilpang","html_url":"https://github.com/Neilpang","followers_url":"https://api.github.com/users/Neilpang/followers","following_url":"https://api.github.com/users/Neilpang/following{/other_user}","gists_url":"https://api.github.com/users/Neilpang/gists{/gist_id}","starred_url":"https://api.github.com/users/Neilpang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neilpang/subscriptions","organizations_url":"https://api.github.com/users/Neilpang/orgs","repos_url":"https://api.github.com/users/Neilpang/repos","events_url":"https://api.github.com/users/Neilpang/events{/privacy}","received_events_url":"https://api.github.com/users/Neilpang/received_events","type":"User","site_admin":false},"repo":{"id":48610662,"name":"le","full_name":"Neilpang/le","owner":{"login":"Neilpang","id":8305679,"avatar_url":"https://avatars.githubusercontent.com/u/8305679?v=3","gravatar_id":"","url":"https://api.github.com/users/Neilpang","html_url":"https://github.com/Neilpang","followers_url":"https://api.github.com/users/Neilpang/followers","following_url":"https://api.github.com/users/Neilpang/following{/other_user}","gists_url":"https://api.github.com/users/Neilpang/gists{/gist_id}","starred_url":"https://api.github.com/users/Neilpang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neilpang/subscriptions","organizations_url":"https://api.github.com/users/Neilpang/orgs","repos_url":"https://api.github.com/users/Neilpang/repos","events_url":"https://api.github.com/users/Neilpang/events{/privacy}","received_events_url":"https://api.github.com/users/Neilpang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Neilpang/le","description":"Simplest shell script for LetsEncrypt free Certificate client","fork":false,"url":"https://api.github.com/repos/Neilpang/le","forks_url":"https://api.github.com/repos/Neilpang/le/forks","keys_url":"https://api.github.com/repos/Neilpang/le/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Neilpang/le/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Neilpang/le/teams","hooks_url":"https://api.github.com/repos/Neilpang/le/hooks","issue_events_url":"https://api.github.com/repos/Neilpang/le/issues/events{/number}","events_url":"https://api.github.com/repos/Neilpang/le/events","assignees_url":"https://api.github.com/repos/Neilpang/le/assignees{/user}","branches_url":"https://api.github.com/repos/Neilpang/le/branches{/branch}","tags_url":"https://api.github.com/repos/Neilpang/le/tags","blobs_url":"https://api.github.com/repos/Neilpang/le/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Neilpang/le/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Neilpang/le/git/refs{/sha}","trees_url":"https://api.github.com/repos/Neilpang/le/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Neilpang/le/statuses/{sha}","languages_url":"https://api.github.com/repos/Neilpang/le/languages","stargazers_url":"https://api.github.com/repos/Neilpang/le/stargazers","contributors_url":"https://api.github.com/repos/Neilpang/le/contributors","subscribers_url":"https://api.github.com/repos/Neilpang/le/subscribers","subscription_url":"https://api.github.com/repos/Neilpang/le/subscription","commits_url":"https://api.github.com/repos/Neilpang/le/commits{/sha}","git_commits_url":"https://api.github.com/repos/Neilpang/le/git/commits{/sha}","comments_url":"https://api.github.com/repos/Neilpang/le/comments{/number}","issue_comment_url":"https://api.github.com/repos/Neilpang/le/issues/comments{/number}","contents_url":"https://api.github.com/repos/Neilpang/le/contents/{+path}","compare_url":"https://api.github.com/repos/Neilpang/le/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Neilpang/le/merges","archive_url":"https://api.github.com/repos/Neilpang/le/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Neilpang/le/downloads","issues_url":"https://api.github.com/repos/Neilpang/le/issues{/number}","pulls_url":"https://api.github.com/repos/Neilpang/le/pulls{/number}","milestones_url":"https://api.github.com/repos/Neilpang/le/milestones{/number}","notifications_url":"https://api.github.com/repos/Neilpang/le/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Neilpang/le/labels{/name}","releases_url":"https://api.github.com/repos/Neilpang/le/releases{/id}","deployments_url":"https://api.github.com/repos/Neilpang/le/deployments","created_at":"2015-12-26T12:56:33Z","updated_at":"2016-03-08T11:33:33Z","pushed_at":"2016-03-08T12:17:28Z","git_url":"git://github.com/Neilpang/le.git","ssh_url":"git@github.com:Neilpang/le.git","clone_url":"https://github.com/Neilpang/le.git","svn_url":"https://github.com/Neilpang/le","homepage":null,"size":173,"stargazers_count":569,"watchers_count":569,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":17,"forks":65,"open_issues":17,"watchers":569,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Neilpang/le/pulls/87"},"html":{"href":"https://github.com/Neilpang/le/pull/87"},"issue":{"href":"https://api.github.com/repos/Neilpang/le/issues/87"},"comments":{"href":"https://api.github.com/repos/Neilpang/le/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/Neilpang/le/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/Neilpang/le/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Neilpang/le/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/Neilpang/le/statuses/eef38fccfe9b60ee52474e5f298ca9d10f288215"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Neilpang","id":8305679,"avatar_url":"https://avatars.githubusercontent.com/u/8305679?v=3","gravatar_id":"","url":"https://api.github.com/users/Neilpang","html_url":"https://github.com/Neilpang","followers_url":"https://api.github.com/users/Neilpang/followers","following_url":"https://api.github.com/users/Neilpang/following{/other_user}","gists_url":"https://api.github.com/users/Neilpang/gists{/gist_id}","starred_url":"https://api.github.com/users/Neilpang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neilpang/subscriptions","organizations_url":"https://api.github.com/users/Neilpang/orgs","repos_url":"https://api.github.com/users/Neilpang/repos","events_url":"https://api.github.com/users/Neilpang/events{/privacy}","received_events_url":"https://api.github.com/users/Neilpang/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":5,"deletions":1,"changed_files":1}}