X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fservice.c;h=593946e5172e61517a8d7870fb7763857ae816d3;hp=ee5a1a41e574b58b51f6894b9bd968a1127bceee;hb=6d594baa3fa3a361efc2a4c1da3557fc4eba960d;hpb=c8503a3e16bb487e86682c9bee9a60f24b9e40d3 diff --git a/src/core/service.c b/src/core/service.c index ee5a1a41e..593946e51 100644 --- 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); } - 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,