{"action":"created","issue":{"url":"https://api.github.com/repos/arunoda/meteor-up/issues/486","labels_url":"https://api.github.com/repos/arunoda/meteor-up/issues/486/labels{/name}","comments_url":"https://api.github.com/repos/arunoda/meteor-up/issues/486/comments","events_url":"https://api.github.com/repos/arunoda/meteor-up/issues/486/events","html_url":"https://github.com/arunoda/meteor-up/issues/486","id":89175985,"number":486,"title":"Gracefully shutdown when deploying new version","user":{"login":"hems","id":27327,"avatar_url":"https://avatars.githubusercontent.com/u/27327?v=3","gravatar_id":"","url":"https://api.github.com/users/hems","html_url":"https://github.com/hems","followers_url":"https://api.github.com/users/hems/followers","following_url":"https://api.github.com/users/hems/following{/other_user}","gists_url":"https://api.github.com/users/hems/gists{/gist_id}","starred_url":"https://api.github.com/users/hems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hems/subscriptions","organizations_url":"https://api.github.com/users/hems/orgs","repos_url":"https://api.github.com/users/hems/repos","events_url":"https://api.github.com/users/hems/events{/privacy}","received_events_url":"https://api.github.com/users/hems/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-18T02:04:48Z","updated_at":"2015-06-18T18:59:08Z","closed_at":null,"body":"Ideally we would be able to:\r\n\r\n - gracefully shutdown current version ( executing some custom code before the actual exit  of the app )\r\n - fire another one in parallel which takes the new connections on board\r\n\r\nIs thee any way of achieving this at the moment?"},"comment":{"url":"https://api.github.com/repos/arunoda/meteor-up/issues/comments/113258131","html_url":"https://github.com/arunoda/meteor-up/issues/486#issuecomment-113258131","issue_url":"https://api.github.com/repos/arunoda/meteor-up/issues/486","id":113258131,"user":{"login":"hems","id":27327,"avatar_url":"https://avatars.githubusercontent.com/u/27327?v=3","gravatar_id":"","url":"https://api.github.com/users/hems","html_url":"https://github.com/hems","followers_url":"https://api.github.com/users/hems/followers","following_url":"https://api.github.com/users/hems/following{/other_user}","gists_url":"https://api.github.com/users/hems/gists{/gist_id}","starred_url":"https://api.github.com/users/hems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hems/subscriptions","organizations_url":"https://api.github.com/users/hems/orgs","repos_url":"https://api.github.com/users/hems/repos","events_url":"https://api.github.com/users/hems/events{/privacy}","received_events_url":"https://api.github.com/users/hems/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T18:59:08Z","updated_at":"2015-06-18T18:59:08Z","body":"perhaps this is the file that should do all this magic?\r\n\r\nhttps://github.com/arunoda/meteor-up/blob/mupx/templates/linux/start.sh\r\n\r\n@arunoda perhaps we could benefit from adding https://www.consul.io to the project, so we could see services and versions from a nice dashboard?"}}