{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/794","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/794/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/794/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/794/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/794","id":59382476,"number":794,"title":"restarting after update launches new process","user":{"login":"dgholz","id":1451750,"avatar_url":"https://avatars.githubusercontent.com/u/1451750?v=3","gravatar_id":"","url":"https://api.github.com/users/dgholz","html_url":"https://github.com/dgholz","followers_url":"https://api.github.com/users/dgholz/followers","following_url":"https://api.github.com/users/dgholz/following{/other_user}","gists_url":"https://api.github.com/users/dgholz/gists{/gist_id}","starred_url":"https://api.github.com/users/dgholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgholz/subscriptions","organizations_url":"https://api.github.com/users/dgholz/orgs","repos_url":"https://api.github.com/users/dgholz/repos","events_url":"https://api.github.com/users/dgholz/events{/privacy}","received_events_url":"https://api.github.com/users/dgholz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/1:%20Feature%20request","name":"1: Feature request","color":"84b6eb"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/2:%20Low%20Priority","name":"2: Low Priority","color":"d4c5f9"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/3:%20Fix","name":"3: Fix","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-01T06:00:17Z","updated_at":"2015-03-29T04:30:00Z","closed_at":"2015-03-23T02:36:28Z","body":"Hi, I'm writing a docker to run SickRage as pid 1, so when it updates and starts the new process, docker thinks SickRage is finished and shuts down the container.\r\n\r\nThe docker image is published in the public docker registry as dgholz/sickrage and is build from https://github.com/dgholz/sickrage/blob/master/Dockerfile"},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/comments/87356596","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/794#issuecomment-87356596","issue_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/794","id":87356596,"user":{"login":"dgholz","id":1451750,"avatar_url":"https://avatars.githubusercontent.com/u/1451750?v=3","gravatar_id":"","url":"https://api.github.com/users/dgholz","html_url":"https://github.com/dgholz","followers_url":"https://api.github.com/users/dgholz/followers","following_url":"https://api.github.com/users/dgholz/following{/other_user}","gists_url":"https://api.github.com/users/dgholz/gists{/gist_id}","starred_url":"https://api.github.com/users/dgholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgholz/subscriptions","organizations_url":"https://api.github.com/users/dgholz/orgs","repos_url":"https://api.github.com/users/dgholz/repos","events_url":"https://api.github.com/users/dgholz/events{/privacy}","received_events_url":"https://api.github.com/users/dgholz/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T04:30:00Z","updated_at":"2015-03-29T04:30:00Z","body":"@fernandog #1590 is close but not the same, docker sees the original process has terminated and thus stops the container. I'm fine running docker with a restart policy, but now I have to explain restart policies in the documentation for the docker image. I will advise users not to attempt to upgrade SickRage within a docker container."}}