chiark / gitweb /
units: add missing fsck.target file
[elogind.git] / units / getty@.service.m4
index b82f5aad25e1485d602e2b7e227a92a0d58690b5..e023a9dcb74af931ca5143ab8c5d5c27d3bfe9b7 100644 (file)
@@ -28,5 +28,9 @@ Restart=restart-always
 RestartSec=0
 KillMode=process-group
 
+# Some login implementations ignore SIGTERM, so we send SIGHUP
+# instead, to ensure that login terminates cleanly.
+KillSignal=SIGHUP
+
 [Install]
 Alias=getty.target.wants/getty@tty1.service getty.target.wants/getty@tty2.service getty.target.wants/getty@tty3.service getty.target.wants/getty@tty4.service getty.target.wants/getty@tty5.service getty.target.wants/getty@tty6.service