{"action":"created","issue":{"url":"https://api.github.com/repos/unbit/uwsgi/issues/849","labels_url":"https://api.github.com/repos/unbit/uwsgi/issues/849/labels{/name}","comments_url":"https://api.github.com/repos/unbit/uwsgi/issues/849/comments","events_url":"https://api.github.com/repos/unbit/uwsgi/issues/849/events","html_url":"https://github.com/unbit/uwsgi/issues/849","id":58547172,"number":849,"title":"uWGSI graceful shutdown","user":{"login":"dmk23","id":1828444,"avatar_url":"https://avatars.githubusercontent.com/u/1828444?v=3","gravatar_id":"","url":"https://api.github.com/users/dmk23","html_url":"https://github.com/dmk23","followers_url":"https://api.github.com/users/dmk23/followers","following_url":"https://api.github.com/users/dmk23/following{/other_user}","gists_url":"https://api.github.com/users/dmk23/gists{/gist_id}","starred_url":"https://api.github.com/users/dmk23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmk23/subscriptions","organizations_url":"https://api.github.com/users/dmk23/orgs","repos_url":"https://api.github.com/users/dmk23/repos","events_url":"https://api.github.com/users/dmk23/events{/privacy}","received_events_url":"https://api.github.com/users/dmk23/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-23T06:24:14Z","updated_at":"2015-02-24T10:47:12Z","closed_at":null,"body":"I am looking at the full list of uWGSI signals to figure out the proper way to shut down:\r\nhttp://uwsgi-docs.readthedocs.org/en/latest/Management.html\r\n\r\nIt is quite surprising to see no way to exit the service gracefully vs. just brutally. Yes, it is good to be able to gracefully reload, but some deployments may rely on outside scripts invoking a \"service restart\" command, which would stop and then start the service - in this case destroying the requests in process.\r\n\r\nIs there a workaround to enforce graceful shutdown? A possible new feature? Why have two signals (SIGINT and SIGQUIT) do exact same thing when one could designate a graceful option?"},"comment":{"url":"https://api.github.com/repos/unbit/uwsgi/issues/comments/75735101","html_url":"https://github.com/unbit/uwsgi/issues/849#issuecomment-75735101","issue_url":"https://api.github.com/repos/unbit/uwsgi/issues/849","id":75735101,"user":{"login":"WST","id":190773,"avatar_url":"https://avatars.githubusercontent.com/u/190773?v=3","gravatar_id":"","url":"https://api.github.com/users/WST","html_url":"https://github.com/WST","followers_url":"https://api.github.com/users/WST/followers","following_url":"https://api.github.com/users/WST/following{/other_user}","gists_url":"https://api.github.com/users/WST/gists{/gist_id}","starred_url":"https://api.github.com/users/WST/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WST/subscriptions","organizations_url":"https://api.github.com/users/WST/orgs","repos_url":"https://api.github.com/users/WST/repos","events_url":"https://api.github.com/users/WST/events{/privacy}","received_events_url":"https://api.github.com/users/WST/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T10:47:12Z","updated_at":"2015-02-24T10:47:12Z","body":"I confirm this could be a nice feature to have (if it’s easy to add)."}}