{"action":"closed","issue":{"url":"https://api.github.com/repos/Supervisor/supervisor/issues/624","labels_url":"https://api.github.com/repos/Supervisor/supervisor/issues/624/labels{/name}","comments_url":"https://api.github.com/repos/Supervisor/supervisor/issues/624/comments","events_url":"https://api.github.com/repos/Supervisor/supervisor/issues/624/events","html_url":"https://github.com/Supervisor/supervisor/issues/624","id":87970494,"number":624,"title":"How can i graceful restart a program ?","user":{"login":"sdbaiguanghe","id":7524431,"avatar_url":"https://avatars.githubusercontent.com/u/7524431?v=3","gravatar_id":"","url":"https://api.github.com/users/sdbaiguanghe","html_url":"https://github.com/sdbaiguanghe","followers_url":"https://api.github.com/users/sdbaiguanghe/followers","following_url":"https://api.github.com/users/sdbaiguanghe/following{/other_user}","gists_url":"https://api.github.com/users/sdbaiguanghe/gists{/gist_id}","starred_url":"https://api.github.com/users/sdbaiguanghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdbaiguanghe/subscriptions","organizations_url":"https://api.github.com/users/sdbaiguanghe/orgs","repos_url":"https://api.github.com/users/sdbaiguanghe/repos","events_url":"https://api.github.com/users/sdbaiguanghe/events{/privacy}","received_events_url":"https://api.github.com/users/sdbaiguanghe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-13T09:32:13Z","updated_at":"2015-06-13T16:33:23Z","closed_at":"2015-06-13T16:33:23Z","body":"i have a program that need zero-downtime  restarts  which mean without dropping any connections.\r\nwhen this program receive  signal USR1,it will fork&exec a child process handle the new conntion and when the parent finish all the previous conntion it will exit.i want supervisor  supervisor the child process. \r\nwhat should i do to achieve my purpose? how supervisor restart a program ,send a TERM signal to stop and then start? \r\nmy english is poor , i hope you can understand what i mean,thanks .. "}}