{"action":"created","issue":{"url":"https://api.github.com/repos/poidasmith/winrun4j/issues/13","labels_url":"https://api.github.com/repos/poidasmith/winrun4j/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/poidasmith/winrun4j/issues/13/comments","events_url":"https://api.github.com/repos/poidasmith/winrun4j/issues/13/events","html_url":"https://github.com/poidasmith/winrun4j/issues/13","id":5172854,"number":13,"title":"Add a way to programatically extend the service shutdown timeout","user":{"login":"jonalbrecht","id":1872766,"avatar_url":"https://avatars.githubusercontent.com/u/1872766?v=3","gravatar_id":"","url":"https://api.github.com/users/jonalbrecht","html_url":"https://github.com/jonalbrecht","followers_url":"https://api.github.com/users/jonalbrecht/followers","following_url":"https://api.github.com/users/jonalbrecht/following{/other_user}","gists_url":"https://api.github.com/users/jonalbrecht/gists{/gist_id}","starred_url":"https://api.github.com/users/jonalbrecht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonalbrecht/subscriptions","organizations_url":"https://api.github.com/users/jonalbrecht/orgs","repos_url":"https://api.github.com/users/jonalbrecht/repos","events_url":"https://api.github.com/users/jonalbrecht/events{/privacy}","received_events_url":"https://api.github.com/users/jonalbrecht/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2012-06-20T15:12:46Z","updated_at":"2015-05-28T18:34:07Z","closed_at":null,"body":"I have a service that takes longer than the default 30 seconds to shutdown. From http://bytes.com/topic/c-sharp/answers/274008-service-stop-timeout-setting it looks like you can send SetServiceStatus(...) (http://msdn.microsoft.com/en-us/library/windows/desktop/ms686241(v=vs.85).aspx) with a value of SERVICE_STOP_PENDING to reset the 30 second counter."},"comment":{"url":"https://api.github.com/repos/poidasmith/winrun4j/issues/comments/106557289","html_url":"https://github.com/poidasmith/winrun4j/issues/13#issuecomment-106557289","issue_url":"https://api.github.com/repos/poidasmith/winrun4j/issues/13","id":106557289,"user":{"login":"jwaterloo","id":10145988,"avatar_url":"https://avatars.githubusercontent.com/u/10145988?v=3","gravatar_id":"","url":"https://api.github.com/users/jwaterloo","html_url":"https://github.com/jwaterloo","followers_url":"https://api.github.com/users/jwaterloo/followers","following_url":"https://api.github.com/users/jwaterloo/following{/other_user}","gists_url":"https://api.github.com/users/jwaterloo/gists{/gist_id}","starred_url":"https://api.github.com/users/jwaterloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwaterloo/subscriptions","organizations_url":"https://api.github.com/users/jwaterloo/orgs","repos_url":"https://api.github.com/users/jwaterloo/repos","events_url":"https://api.github.com/users/jwaterloo/events{/privacy}","received_events_url":"https://api.github.com/users/jwaterloo/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T18:34:06Z","updated_at":"2015-05-28T18:34:06Z","body":"Please also provide SERVICE_START_PENDING"}}