getty@.service.m4 revision 4771148bb92ace55eaa6759a53d04a0f2de9b0d2
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# This file is part of systemd.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# systemd is free software; you can redistribute it and/or modify it
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# under the terms of the GNU General Public License as published by
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# the Free Software Foundation; either version 2 of the License, or
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# (at your option) any later version.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync[Unit]
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncDescription=Getty on %I
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncBindTo=dev-%i.device
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncAfter=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncm4_ifdef(`TARGET_FEDORA',
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncAfter=rc-local.service
f78b12e570284aa8291f4ca1add24937fd107403vboxsync)m4_dnl
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncm4_ifdef(`TARGET_ARCH',
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncAfter=rc-local.service
f78b12e570284aa8291f4ca1add24937fd107403vboxsync)m4_dnl
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncm4_ifdef(`TARGET_FRUGALWARE',
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncAfter=local.service
f78b12e570284aa8291f4ca1add24937fd107403vboxsync)m4_dnl
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncm4_ifdef(`TARGET_ALTLINUX',
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncAfter=rc-local.service
f78b12e570284aa8291f4ca1add24937fd107403vboxsync)m4_dnl
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncm4_ifdef(`TARGET_MANDRIVA',
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncAfter=rc-local.service
f78b12e570284aa8291f4ca1add24937fd107403vboxsync)m4_dnl
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncm4_ifdef(`TARGET_MAGEIA',
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncAfter=rc-local.service
f78b12e570284aa8291f4ca1add24937fd107403vboxsync)m4_dnl
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# If additional gettys are spawned during boot then we should make
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# sure that this is synchronized before getty.target, even though
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# getty.target didn't actually pull it in.
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncBefore=getty.target
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncIgnoreOnIsolate=yes
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync[Service]
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncEnvironment=TERM=linux
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncExecStart=-/sbin/agetty %I 38400
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncRestart=always
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncRestartSec=0
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncUtmpIdentifier=%I
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncTTYPath=/dev/%I
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncTTYReset=yes
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncTTYVHangup=yes
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncTTYVTDisallocate=yes
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncKillMode=process
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncIgnoreSIGPIPE=no
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# Unset locale for the console getty since the console has problems
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# displaying some internationalized messages.
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncEnvironment=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=
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# Some login implementations ignore SIGTERM, so we send SIGHUP
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# instead, to ensure that login terminates cleanly.
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncKillSignal=SIGHUP
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync[Install]
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncAlias=getty.target.wants/getty@tty1.service
f78b12e570284aa8291f4ca1add24937fd107403vboxsync