Don't time out waiting for service status change.
authorIain Patterson <me@iain.cx>
Wed, 31 Dec 2014 14:33:57 +0000 (14:33 +0000)
committerIain Patterson <me@iain.cx>
Wed, 31 Dec 2014 16:52:34 +0000 (16:52 +0000)
commit6628c2a573a6e94ead76d5454d0438dc396a70c6
treeae35cc8584070b740751802f2b69eccc8053490f
parent2ee9dc2eacbcf9fa5005df1f36a88dadbbd68d7e
Don't time out waiting for service status change.

Wait for service to start (or fail to start) or stop instead of timing
out after five seconds.

An NSSM service which doesn't start properly and temporarily enters
paused state may end up reporting running state in response to a stop
control.  Therefore we now consider SERVICE_RUNNING to be a valid
response to SERVICE_CONTROL_STOP.
service.cpp