summaryrefslogtreecommitdiff
path: root/units/emergency.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/emergency.service')
-rw-r--r--units/emergency.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/emergency.service b/units/emergency.service
index 7a1f81a468..dda7e168cb 100644
--- a/units/emergency.service
+++ b/units/emergency.service
@@ -20,6 +20,6 @@ Restart=restart-always
RestartSec=0
KillMode=process-group
-# Bash ignores SIGTERM, so we send SIGHUP first, to ensure that bash
+# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
# terminates cleanly.
-ExecStop=-/bin/kill -HUP ${MAINPID}
+KillSignal=SIGHUP