chiark / gitweb /
getty: set TERM=linux for the local gettys we configure
[elogind.git] / units / getty@.service.m4
index 72d4794da15153aff3c228bf27b4637c3553e7c9..20ee6e90f753cf026c94e4342e2f61808e34bc54 100644 (file)
@@ -6,6 +6,7 @@
 #  (at your option) any later version.
 
 m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl
+m4_ifdef(`TARGET_SUSE', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl
 m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl
 m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl
 m4_dnl
@@ -16,7 +17,9 @@ After=basic.target
 Conflicts=shutdown.target
 
 [Service]
+Environment=TERM=linux
 Type=simple
 ExecStart=GETTY %I
 Restart=restart-always
 RestartSec=0
+KillMode=process-group