{"action":"opened","issue":{"url":"https://api.github.com/repos/PagerDuty/pdagent/issues/122","repository_url":"https://api.github.com/repos/PagerDuty/pdagent","labels_url":"https://api.github.com/repos/PagerDuty/pdagent/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/PagerDuty/pdagent/issues/122/comments","events_url":"https://api.github.com/repos/PagerDuty/pdagent/issues/122/events","html_url":"https://github.com/PagerDuty/pdagent/issues/122","id":339193874,"node_id":"MDU6SXNzdWUzMzkxOTM4NzQ=","number":122,"title":"pdagentd.py should be able to recover from a stale pid file","user":{"login":"bahamat","id":1612974,"node_id":"MDQ6VXNlcjE2MTI5NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1612974?v=4","gravatar_id":"","url":"https://api.github.com/users/bahamat","html_url":"https://github.com/bahamat","followers_url":"https://api.github.com/users/bahamat/followers","following_url":"https://api.github.com/users/bahamat/following{/other_user}","gists_url":"https://api.github.com/users/bahamat/gists{/gist_id}","starred_url":"https://api.github.com/users/bahamat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bahamat/subscriptions","organizations_url":"https://api.github.com/users/bahamat/orgs","repos_url":"https://api.github.com/users/bahamat/repos","events_url":"https://api.github.com/users/bahamat/events{/privacy}","received_events_url":"https://api.github.com/users/bahamat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-08T03:40:30Z","updated_at":"2018-07-08T03:40:30Z","closed_at":null,"author_association":"NONE","body":"If there's an existing pid file, pdagentd.py just prints a message and quits, regardless whether there's an actual process running or not.\r\n\r\nInstead, pdagentd.py when starting, if a pid file exists, it should check for the existence of that process. If there is no process running it should simply clean up the stale pid and move on."}}
{"actor":{"display_login":"bahamat"}}