{"action":"created","issue":{"url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/808","repository_url":"https://api.github.com/repos/sbt/sbt-native-packager","labels_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/808/labels{/name}","comments_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/808/comments","events_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/808/events","html_url":"https://github.com/sbt/sbt-native-packager/issues/808","id":159969077,"number":808,"title":"Dead pidfile on wheezy","user":{"login":"jpic","id":94636,"avatar_url":"https://avatars.githubusercontent.com/u/94636?v=3","gravatar_id":"","url":"https://api.github.com/users/jpic","html_url":"https://github.com/jpic","followers_url":"https://api.github.com/users/jpic/followers","following_url":"https://api.github.com/users/jpic/following{/other_user}","gists_url":"https://api.github.com/users/jpic/gists{/gist_id}","starred_url":"https://api.github.com/users/jpic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpic/subscriptions","organizations_url":"https://api.github.com/users/jpic/orgs","repos_url":"https://api.github.com/users/jpic/repos","events_url":"https://api.github.com/users/jpic/events{/privacy}","received_events_url":"https://api.github.com/users/jpic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sbt/sbt-native-packager/labels/debian","name":"debian","color":"dd1155"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-13T14:51:03Z","updated_at":"2016-06-13T19:44:42Z","closed_at":null,"body":"Currently, if the service is terminated with SIGKILL then the pidfile will remain on the file system, containing a dead PID. This prevents the service file to work correctly. To work around this, we added a logic like this in our deployment playbooks:\r\n\r\n    if [ -f $PIDFILE ]; then\r\n        test -d /proc/$PIDFILE || rm $PIDFILE\r\n    fi\r\n\r\nShould this be considered as a bug in the current service file ?"},"comment":{"url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/comments/225686891","html_url":"https://github.com/sbt/sbt-native-packager/issues/808#issuecomment-225686891","issue_url":"https://api.github.com/repos/sbt/sbt-native-packager/issues/808","id":225686891,"user":{"login":"muuki88","id":647727,"avatar_url":"https://avatars.githubusercontent.com/u/647727?v=3","gravatar_id":"","url":"https://api.github.com/users/muuki88","html_url":"https://github.com/muuki88","followers_url":"https://api.github.com/users/muuki88/followers","following_url":"https://api.github.com/users/muuki88/following{/other_user}","gists_url":"https://api.github.com/users/muuki88/gists{/gist_id}","starred_url":"https://api.github.com/users/muuki88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muuki88/subscriptions","organizations_url":"https://api.github.com/users/muuki88/orgs","repos_url":"https://api.github.com/users/muuki88/repos","events_url":"https://api.github.com/users/muuki88/events{/privacy}","received_events_url":"https://api.github.com/users/muuki88/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T19:44:42Z","updated_at":"2016-06-13T19:44:42Z","body":"Thanks for your report. This would mean that the `start-stop-daemon` helper doesn't work properly. The [debian-start-script](https://github.com/sbt/sbt-native-packager/blob/master/src/main/resources/com/typesafe/sbt/packager/archetypes/systemloader/systemv/start-debian-template#L50-L53) for SystemV only delegates to this helper."}}
{"actor":{"display_login":"muuki88"}}