{"action":"created","issue":{"url":"https://api.github.com/repos/ZeroPhone/ZPUI/issues/120","repository_url":"https://api.github.com/repos/ZeroPhone/ZPUI","labels_url":"https://api.github.com/repos/ZeroPhone/ZPUI/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/ZeroPhone/ZPUI/issues/120/comments","events_url":"https://api.github.com/repos/ZeroPhone/ZPUI/issues/120/events","html_url":"https://github.com/ZeroPhone/ZPUI/issues/120","id":372131381,"node_id":"MDU6SXNzdWUzNzIxMzEzODE=","number":120,"title":"Check if another instance of ZPUI is running","user":{"login":"piajesse","id":44306072,"node_id":"MDQ6VXNlcjQ0MzA2MDcy","avatar_url":"https://avatars1.githubusercontent.com/u/44306072?v=4","gravatar_id":"","url":"https://api.github.com/users/piajesse","html_url":"https://github.com/piajesse","followers_url":"https://api.github.com/users/piajesse/followers","following_url":"https://api.github.com/users/piajesse/following{/other_user}","gists_url":"https://api.github.com/users/piajesse/gists{/gist_id}","starred_url":"https://api.github.com/users/piajesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piajesse/subscriptions","organizations_url":"https://api.github.com/users/piajesse/orgs","repos_url":"https://api.github.com/users/piajesse/repos","events_url":"https://api.github.com/users/piajesse/events{/privacy}","received_events_url":"https://api.github.com/users/piajesse/received_events","type":"User","site_admin":false},"labels":[{"id":815620883,"node_id":"MDU6TGFiZWw4MTU2MjA4ODM=","url":"https://api.github.com/repos/ZeroPhone/ZPUI/labels/developer-friendliness","name":"developer-friendliness","color":"fbca04","default":false},{"id":532750002,"node_id":"MDU6TGFiZWw1MzI3NTAwMDI=","url":"https://api.github.com/repos/ZeroPhone/ZPUI/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-10-19T22:06:30Z","updated_at":"2018-10-19T23:52:04Z","closed_at":null,"author_association":"NONE","body":"# How\r\nAt start up, check if there there is a PID file at `/tmp/zpui.pid`, and if there is check if the number inside the files PID is still running, if it is, then fail to start if no console, and if there is a console say another instance is still running and ask if they want to quit or try again. and if its running, say a warning and then overwrite with that processes PID  is still there and that most likely means a failed shutdown, and then start like normal"},"comment":{"url":"https://api.github.com/repos/ZeroPhone/ZPUI/issues/comments/431529307","html_url":"https://github.com/ZeroPhone/ZPUI/issues/120#issuecomment-431529307","issue_url":"https://api.github.com/repos/ZeroPhone/ZPUI/issues/120","id":431529307,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTUyOTMwNw==","user":{"login":"piajesse","id":44306072,"node_id":"MDQ6VXNlcjQ0MzA2MDcy","avatar_url":"https://avatars1.githubusercontent.com/u/44306072?v=4","gravatar_id":"","url":"https://api.github.com/users/piajesse","html_url":"https://github.com/piajesse","followers_url":"https://api.github.com/users/piajesse/followers","following_url":"https://api.github.com/users/piajesse/following{/other_user}","gists_url":"https://api.github.com/users/piajesse/gists{/gist_id}","starred_url":"https://api.github.com/users/piajesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piajesse/subscriptions","organizations_url":"https://api.github.com/users/piajesse/orgs","repos_url":"https://api.github.com/users/piajesse/repos","events_url":"https://api.github.com/users/piajesse/events{/privacy}","received_events_url":"https://api.github.com/users/piajesse/received_events","type":"User","site_admin":false},"created_at":"2018-10-19T23:52:04Z","updated_at":"2018-10-19T23:52:04Z","author_association":"NONE","body":"Actually I will set it up that when it checks It will just create a file if it doesn't exist, and if it does exist and its the same pid as the current running version, it will just continue"}}
{"actor":{"display_login":"piajesse"}}