{"action":"created","issue":{"url":"https://api.github.com/repos/diafygi/acme-tiny/issues/25","labels_url":"https://api.github.com/repos/diafygi/acme-tiny/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/diafygi/acme-tiny/issues/25/comments","events_url":"https://api.github.com/repos/diafygi/acme-tiny/issues/25/events","html_url":"https://github.com/diafygi/acme-tiny/issues/25","id":120547279,"number":25,"title":"Return exit codes depending on situation","user":{"login":"thewavelength","id":1430997,"avatar_url":"https://avatars.githubusercontent.com/u/1430997?v=3","gravatar_id":"","url":"https://api.github.com/users/thewavelength","html_url":"https://github.com/thewavelength","followers_url":"https://api.github.com/users/thewavelength/followers","following_url":"https://api.github.com/users/thewavelength/following{/other_user}","gists_url":"https://api.github.com/users/thewavelength/gists{/gist_id}","starred_url":"https://api.github.com/users/thewavelength/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thewavelength/subscriptions","organizations_url":"https://api.github.com/users/thewavelength/orgs","repos_url":"https://api.github.com/users/thewavelength/repos","events_url":"https://api.github.com/users/thewavelength/events{/privacy}","received_events_url":"https://api.github.com/users/thewavelength/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-05T11:02:25Z","updated_at":"2015-12-05T23:19:32Z","closed_at":"2015-12-05T23:19:32Z","body":"It would be wonderful if the script would return i. e. a *1* exit code if everything went well and a certificate has actually been updated by a renewal. This would ensure that the reload of the webserver only happens when it is really necessary."},"comment":{"url":"https://api.github.com/repos/diafygi/acme-tiny/issues/comments/162256228","html_url":"https://github.com/diafygi/acme-tiny/issues/25#issuecomment-162256228","issue_url":"https://api.github.com/repos/diafygi/acme-tiny/issues/25","id":162256228,"user":{"login":"diafygi","id":643187,"avatar_url":"https://avatars.githubusercontent.com/u/643187?v=3","gravatar_id":"","url":"https://api.github.com/users/diafygi","html_url":"https://github.com/diafygi","followers_url":"https://api.github.com/users/diafygi/followers","following_url":"https://api.github.com/users/diafygi/following{/other_user}","gists_url":"https://api.github.com/users/diafygi/gists{/gist_id}","starred_url":"https://api.github.com/users/diafygi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diafygi/subscriptions","organizations_url":"https://api.github.com/users/diafygi/orgs","repos_url":"https://api.github.com/users/diafygi/repos","events_url":"https://api.github.com/users/diafygi/events{/privacy}","received_events_url":"https://api.github.com/users/diafygi/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T23:19:32Z","updated_at":"2015-12-05T23:19:32Z","body":"Yes, if you want more than a 0 or 1 exit code, please import the script in python and catch exceptions raised how you like."}}