Restrict acceptance of service controls.
authorIain Patterson <me@iain.cx>
Wed, 31 Dec 2014 13:16:24 +0000 (13:16 +0000)
committerIain Patterson <me@iain.cx>
Wed, 31 Dec 2014 14:12:27 +0000 (14:12 +0000)
commit0a2272fb6b694fc1ac94acf06396766e61f9790b
treeaf07ca308b1b20557f10067bc941d1fec1531e1a
parent96d9a6ed864c876a850b774756bc4604c61e890d
Restrict acceptance of service controls.

Don't accept a pause/continue control unless the service is marked as
paused.
Don't accept any control until startup is pending.
Don't accept any control after processing a stop control.
service.cpp