1989N/A# This file is part of systemd.
1989N/A#
1989N/A# systemd is free software; you can redistribute it and/or modify it
1989N/A# under the terms of the GNU Lesser General Public License as published by
1989N/A# the Free Software Foundation; either version 2.1 of the License, or
1989N/A# (at your option) any later version.
1989N/A
1989N/A[Unit]
1989N/ADescription=Getty on %I
1989N/ADocumentation=man:agetty(8) man:systemd-getty-generator(8)
1989N/ADocumentation=http://0pointer.de/blog/projects/serial-console.html
1989N/AAfter=systemd-user-sessions.service plymouth-quit-wait.service
1989N/Am4_ifdef(`HAVE_SYSV_COMPAT',
1989N/AAfter=rc-local.service
1989N/A)m4_dnl
1989N/A
1989N/A# If additional gettys are spawned during boot then we should make
1989N/A# sure that this is synchronized before getty.target, even though
1989N/A# getty.target didn't actually pull it in.
1989N/ABefore=getty.target
1989N/AIgnoreOnIsolate=yes
1989N/A
1989N/A# On systems without virtual consoles, don't start any getty. Note
1989N/A# that serial gettys are covered by serial-getty@.service, not this
4129N/A# unit.
5288N/AConditionPathExists=/dev/tty0
1989N/A
1989N/A[Service]
4129N/A# the VT is cleared by TTYVTDisallocate
4129N/AExecStart=-/sbin/agetty --noclear %I $TERM
1989N/AType=idle
2086N/ARestart=always
2284N/ARestartSec=0
2086N/AUtmpIdentifier=%I
4129N/ATTYPath=/dev/%I
1989N/ATTYReset=yes
1989N/ATTYVHangup=yes
1989N/ATTYVTDisallocate=yes
1989N/AKillMode=process
1989N/AIgnoreSIGPIPE=no
1989N/ASendSIGHUP=yes
1989N/A
1989N/A# Unset locale for the console getty since the console has problems
1989N/A# displaying some internationalized messages.
1989N/AEnvironment=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=
1989N/A
1989N/A[Install]
1989N/AWantedBy=getty.target
1989N/ADefaultInstance=tty1
1989N/A