chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
service: really stop watchdog timer when stopping
[elogind.git]
/
src
/
core
/
service.c
diff --git
a/src/core/service.c
b/src/core/service.c
index ee5a1a41e574b58b51f6894b9bd968a1127bceee..593946e5172e61517a8d7870fb7763857ae816d3 100644
(file)
--- a/
src/core/service.c
+++ b/
src/core/service.c
@@
-1550,7
+1550,7
@@
static void service_set_state(Service *s, ServiceState state) {
service_connection_unref(s);
}
service_connection_unref(s);
}
- if (state == SERVICE_STOP)
+ if (state == SERVICE_STOP
|| state == SERVICE_STOP_SIGTERM
)
service_stop_watchdog(s);
/* For the inactive states unit_notify() will trim the cgroup,
service_stop_watchdog(s);
/* For the inactive states unit_notify() will trim the cgroup,