Properly handle scripted service start interrupt.
authorDavin McCall <davmac@davmac.org>
Mon, 8 Jan 2018 22:00:43 +0000 (22:00 +0000)
committerDavin McCall <davmac@davmac.org>
Mon, 8 Jan 2018 22:00:43 +0000 (22:00 +0000)
commitfb99bdf64e74c20015ccc40b7339d85808a129cf
tree2fb01fb0bd990db75066f3f3bd62bb5df4302c2a
parent46eef66b1bb691f89b70e6c29b6ed0a8fc1a59f4
Properly handle scripted service start interrupt.

If we issue an interrupt (SIGINT) to a starting script, but the script
completes normally, we should run the stop script before marking the
service as stopped.
src/service.cc
src/service.h