chiark / gitweb /
debug-shell: add condition for tty device to run on
[elogind.git] / units / serial-getty@.service.m4
index e32c6b7aff00d91cd748cf63710b3b21f100eb66..4ac51e768db3bebb83e022a96c354122b1d749a4 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 115200,38400,9600 %I $TERM
 Type=idle
 Restart=always
 RestartSec=0
@@ -33,3 +33,6 @@ TTYVHangup=yes
 KillMode=process
 IgnoreSIGPIPE=no
 SendSIGHUP=yes
+
+[Install]
+WantedBy=getty.target