X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fgetty%40.service.m4;h=f32ca99ea94558d68703440b37790588c1bef8c4;hb=5199cbe4a4cb0f3e4134e8577dda37c05abf7dc0;hp=fcf1de197fb94383e7b5b9cf8e2bbdf995f75037;hpb=3305d6806d428010b1cd2abd716aa1bb7f81311f;p=elogind.git diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index fcf1de197..f32ca99ea 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -7,24 +7,10 @@ [Unit] Description=Getty on %I -Documentation=man:agetty(8) +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_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 @@ -40,9 +26,8 @@ IgnoreOnIsolate=yes ConditionPathExists=/dev/tty0 [Service] -Environment=TERM=linux # the VT is cleared by TTYVTDisallocate -ExecStart=-/sbin/agetty --noclear %I 38400 +ExecStart=-/sbin/agetty --noclear %I Type=idle Restart=always RestartSec=0