X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fgetty%40.service.m4;h=7853652009992e09eaa6c9ee00b1c21ac826a798;hp=cc9a2ac644235f497cc243c67ec33a6415b13578;hb=bc5cb1d525461c75e69ce1f82a52e223309cca7c;hpb=00addadd86aff6187f1b7abe23bf1c42241b42d9 diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index cc9a2ac64..785365200 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -10,25 +10,7 @@ Description=Getty on %I Documentation=man:agetty(8) man:systemd-getty-generator(8) Documentation=http://0pointer.de/blog/projects/serial-console.html After=systemd-user-sessions.service plymouth-quit-wait.service -m4_ifdef(`TARGET_FEDORA', -After=rc-local.service -)m4_dnl -m4_ifdef(`TARGET_DEBIAN', -After=rc.local.service -)m4_dnl -m4_ifdef(`TARGET_ARCH', -After=rc-local.service -)m4_dnl -m4_ifdef(`TARGET_FRUGALWARE', -After=local.service -)m4_dnl -m4_ifdef(`TARGET_ALTLINUX', -After=rc-local.service -)m4_dnl -m4_ifdef(`TARGET_MANDRIVA', -After=rc-local.service -)m4_dnl -m4_ifdef(`TARGET_MAGEIA', +m4_ifdef(`HAVE_SYSV_COMPAT', After=rc-local.service )m4_dnl @@ -38,14 +20,14 @@ After=rc-local.service Before=getty.target IgnoreOnIsolate=yes -# On systems without virtual consoles, don't start any getty. (Note +# On systems without virtual consoles, don't start any getty. Note # that serial gettys are covered by serial-getty@.service, not this -# unit +# unit. ConditionPathExists=/dev/tty0 [Service] # the VT is cleared by TTYVTDisallocate -ExecStart=-/sbin/agetty --noclear %I 38400 linux +ExecStart=-/sbin/agetty --noclear %I Type=idle Restart=always RestartSec=0 @@ -66,4 +48,4 @@ Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETA KillSignal=SIGHUP [Install] -Alias=getty.target.wants/getty@tty1.service +WantedBy=getty.target