projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2b58a
)
service: actually leave watchdog enabled in the states where it matters
author
Lennart Poettering
<lennart@poettering.net>
Thu, 12 Dec 2013 02:03:03 +0000
(
03:03
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 12 Dec 2013 02:06:21 +0000
(
03:06
+0100)
src/core/service.c
patch
|
blob
|
history
diff --git
a/src/core/service.c
b/src/core/service.c
index
4c7603c
..
67d2008
100644
(file)
--- a/
src/core/service.c
+++ b/
src/core/service.c
@@
-1513,7
+1513,7
@@
static void service_set_state(Service *s, ServiceState state) {
service_connection_unref(s);
}
- if (IN_SET(state, SERVICE_START_POST, SERVICE_RUNNING, SERVICE_RELOAD))
+ if (
!
IN_SET(state, SERVICE_START_POST, SERVICE_RUNNING, SERVICE_RELOAD))
service_stop_watchdog(s);
/* For the inactive states unit_notify() will trim the cgroup,