chiark / gitweb /
units: always send HUP when dealing with shells/gettys/logins
[elogind.git] / units / fedora / single.service
index f4af539f850a82e26f91a6cbf1417e3f5e3ec9fd..75b8ecc0b0e6c5ad939015d725abe4832277a89f 100644 (file)
@@ -23,6 +23,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