chiark / gitweb /
units: properly capitalize the unit description
[elogind.git] / units / serial-getty@.service.m4
index 5e16963e92b861e24a73b3b08a8027c1c03f1fdd..e94cdb4aa4fdc24ea6fdc423e5c5fbc7f13dbca3 100644 (file)
@@ -22,7 +22,7 @@ Before=getty.target
 IgnoreOnIsolate=yes
 
 [Service]
-ExecStart=-/sbin/agetty --keep-baud %I 115200,38400,9600
+ExecStart=-/sbin/agetty --keep-baud %I 115200,38400,9600 $TERM
 Type=idle
 Restart=always
 RestartSec=0
@@ -32,7 +32,7 @@ TTYReset=yes
 TTYVHangup=yes
 KillMode=process
 IgnoreSIGPIPE=no
+SendSIGHUP=yes
 
-# Some login implementations ignore SIGTERM, so we send SIGHUP
-# instead, to ensure that login terminates cleanly.
-KillSignal=SIGHUP
+[Install]
+WantedBy=getty.target