summaryrefslogtreecommitdiff
path: root/src/test/test-env-replace.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-10-09 17:27:57 +0200
committerMichal Schmidt <mschmidt@redhat.com>2014-10-09 17:48:01 +0200
commit6041a7ee2c1bbff6301082f192fc1b0882400d42 (patch)
tree19de49d076a07a0ee010c4ef51e3c9b8693693f2 /src/test/test-env-replace.c
parent384a4be2b00cb95ce215dd343cc9aa77adc9b1ec (diff)
service: enter SERVICE_STOP_SIGTERM state after getting "STOPPING=1"
SERVICE_STOP would mean we're running the ExecStop command. That's not the case with "STOPPING=1". Instead we should enter the same state as if we just told the service to stop, i.e. SERVICE_STOP_SIGTERM. This fixes a bug where voluntarily exiting services would hang around in deactivating state until timeout.
Diffstat (limited to 'src/test/test-env-replace.c')
0 files changed, 0 insertions, 0 deletions