chiark / gitweb /
service: really stop watchdog timer when stopping
authorMichael Olbrich <m.olbrich@pengutronix.de>
Wed, 23 Jan 2013 13:12:15 +0000 (14:12 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 25 Jan 2013 00:36:47 +0000 (19:36 -0500)
commit6d594baa3fa3a361efc2a4c1da3557fc4eba960d
treef16d650b44df31a3dd6fae30911f4b753424ce17
parentc8503a3e16bb487e86682c9bee9a60f24b9e40d3
service: really stop watchdog timer when stopping

For services without ExecStop= the state SERVICE_STOP is never entered. as
a result the watchdog timer is not stopped and the service is restarted (if
it is configuered to restart).
Stopping the watchdog timer for SERVICE_STOP_SIGTERM as well fixes this.
src/core/service.c