diff options
-rw-r--r-- | src/core/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/service.c b/src/core/service.c index 4c7603c069..67d20085e9 100644 --- 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, |