chiark / gitweb /
units: add generic sysctl/hwclock-save service
[elogind.git] / units / emergency.service
index dd4a0703e2637b72f69aa68ec7ef13b49402957a..dda7e168cb65ec447766b0e1a90bf549c00ddab3 100644 (file)
@@ -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