diff --git a/units/getty@.service.in b/units/getty@.service.in index 19b95ce56d..e7e2aab045 100644 --- a/units/getty@.service.in +++ b/units/getty@.service.in @@ -47,6 +47,7 @@ KillMode=process {% endif %} IgnoreSIGPIPE=no SendSIGHUP=yes + ImportCredential=tty.virtual.%I.agetty.*:agetty. ImportCredential=tty.virtual.%I.login.*:login. ImportCredential=agetty.* @@ -58,5 +59,7 @@ ImportCredential=shell.* UnsetEnvironment=LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION [Install] +Alias=autovt@.service + WantedBy=getty.target DefaultInstance=tty1 diff --git a/units/meson.build b/units/meson.build index f2c5d22055..36dcb3f117 100644 --- a/units/meson.build +++ b/units/meson.build @@ -45,7 +45,6 @@ units = [ }, { 'file' : 'getty@.service.in', - 'symlinks' : ['autovt@.service'], }, { 'file' : 'graphical.target',