{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/1755","repository_url":"https://api.github.com/repos/hashicorp/nomad","labels_url":"https://api.github.com/repos/hashicorp/nomad/issues/1755/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/nomad/issues/1755/comments","events_url":"https://api.github.com/repos/hashicorp/nomad/issues/1755/events","html_url":"https://github.com/hashicorp/nomad/issues/1755","id":179443772,"number":1755,"title":"allow controlling the task stop signal","user":{"login":"jippi","id":22841,"avatar_url":"https://avatars0.githubusercontent.com/u/22841?v=4","gravatar_id":"","url":"https://api.github.com/users/jippi","html_url":"https://github.com/jippi","followers_url":"https://api.github.com/users/jippi/followers","following_url":"https://api.github.com/users/jippi/following{/other_user}","gists_url":"https://api.github.com/users/jippi/gists{/gist_id}","starred_url":"https://api.github.com/users/jippi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jippi/subscriptions","organizations_url":"https://api.github.com/users/jippi/orgs","repos_url":"https://api.github.com/users/jippi/repos","events_url":"https://api.github.com/users/jippi/events{/privacy}","received_events_url":"https://api.github.com/users/jippi/received_events","type":"User","site_admin":false},"labels":[{"id":321148368,"url":"https://api.github.com/repos/hashicorp/nomad/labels/client","name":"client","color":"bfdadc","default":false},{"id":218895785,"url":"https://api.github.com/repos/hashicorp/nomad/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/hashicorp/nomad/milestones/10","html_url":"https://github.com/hashicorp/nomad/milestone/10","labels_url":"https://api.github.com/repos/hashicorp/nomad/milestones/10/labels","id":1961786,"number":10,"title":"near-term","description":"","creator":{"login":"dadgar","id":1047914,"avatar_url":"https://avatars0.githubusercontent.com/u/1047914?v=4","gravatar_id":"","url":"https://api.github.com/users/dadgar","html_url":"https://github.com/dadgar","followers_url":"https://api.github.com/users/dadgar/followers","following_url":"https://api.github.com/users/dadgar/following{/other_user}","gists_url":"https://api.github.com/users/dadgar/gists{/gist_id}","starred_url":"https://api.github.com/users/dadgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadgar/subscriptions","organizations_url":"https://api.github.com/users/dadgar/orgs","repos_url":"https://api.github.com/users/dadgar/repos","events_url":"https://api.github.com/users/dadgar/events{/privacy}","received_events_url":"https://api.github.com/users/dadgar/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":45,"state":"open","created_at":"2016-08-24T22:09:26Z","updated_at":"2017-08-01T20:05:09Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-09-27T09:39:02Z","updated_at":"2017-10-06T10:15:14Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"It would be nice to have a `kill_singal` config for tasks as not all programs react nicely to `SIGINT` :) \r\n\r\nExample `php-fpm` handle signals like this\r\n\r\n```\r\n* SIGINT, SIGTERM: immediate termination \r\n* SIGQUIT: graceful stop \r\n* SIGUSR1: re-open log file \r\n* SIGUSR2: graceful reload of all workers + reload of fpm conf/binary \r\n```\r\n\r\nwhere SIGINT will cause the process to die right away (not cleaning up), dropping any ongoing requests and give downtime / errors to the user\r\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/comments/334715867","html_url":"https://github.com/hashicorp/nomad/issues/1755#issuecomment-334715867","issue_url":"https://api.github.com/repos/hashicorp/nomad/issues/1755","id":334715867,"user":{"login":"jippi","id":22841,"avatar_url":"https://avatars0.githubusercontent.com/u/22841?v=4","gravatar_id":"","url":"https://api.github.com/users/jippi","html_url":"https://github.com/jippi","followers_url":"https://api.github.com/users/jippi/followers","following_url":"https://api.github.com/users/jippi/following{/other_user}","gists_url":"https://api.github.com/users/jippi/gists{/gist_id}","starred_url":"https://api.github.com/users/jippi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jippi/subscriptions","organizations_url":"https://api.github.com/users/jippi/orgs","repos_url":"https://api.github.com/users/jippi/repos","events_url":"https://api.github.com/users/jippi/events{/privacy}","received_events_url":"https://api.github.com/users/jippi/received_events","type":"User","site_admin":false},"created_at":"2017-10-06T10:15:14Z","updated_at":"2017-10-06T10:15:14Z","author_association":"CONTRIBUTOR","body":"@dadgar will this make it to 0.7 ? :)"}}
{"actor":{"display_login":"jippi"}}