getty@.service.m4 revision 92ab323c824300683efb11fd43c9d834cea9b9e6
edd67c61375d89ff863e754caff339cd1ac77b38vboxsync# This file is part of systemd.
edd67c61375d89ff863e754caff339cd1ac77b38vboxsync#
edd67c61375d89ff863e754caff339cd1ac77b38vboxsync# systemd is free software; you can redistribute it and/or modify it
edd67c61375d89ff863e754caff339cd1ac77b38vboxsync# under the terms of the GNU General Public License as published by
edd67c61375d89ff863e754caff339cd1ac77b38vboxsync# the Free Software Foundation; either version 2 of the License, or
edd67c61375d89ff863e754caff339cd1ac77b38vboxsync# (at your option) any later version.
c58f1213e628a545081c70e26c6b67a841cff880vboxsync
edd67c61375d89ff863e754caff339cd1ac77b38vboxsync[Unit]
edd67c61375d89ff863e754caff339cd1ac77b38vboxsyncDescription=Getty on %I
edd67c61375d89ff863e754caff339cd1ac77b38vboxsyncBindTo=dev-%i.device
edd67c61375d89ff863e754caff339cd1ac77b38vboxsyncAfter=dev-%i.device
edd67c61375d89ff863e754caff339cd1ac77b38vboxsyncm4_ifdef(`TARGET_FEDORA',
edd67c61375d89ff863e754caff339cd1ac77b38vboxsyncAfter=rc-local.service
edd67c61375d89ff863e754caff339cd1ac77b38vboxsync)m4_dnl
edd67c61375d89ff863e754caff339cd1ac77b38vboxsyncm4_ifdef(`TARGET_ARCH',
edd67c61375d89ff863e754caff339cd1ac77b38vboxsyncAfter=rc-local.service
edd67c61375d89ff863e754caff339cd1ac77b38vboxsync)m4_dnl
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsync
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsync# If additional gettys are spawned during boot then we should make
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsync# sure that this is synchronized before getty.target, even though
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsync# getty.target didn't actually pull it in.
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsyncBefore=getty.target
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsync
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsync[Service]
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsyncEnvironment=TERM=linux
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsyncExecStart=-/sbin/agetty %I 38400
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsyncRestart=always
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsyncRestartSec=0
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsyncUtmpIdentifier=%I
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsyncKillMode=process-group
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsync# Some login implementations ignore SIGTERM, so we send SIGHUP
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsync# instead, to ensure that login terminates cleanly.
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsyncKillSignal=SIGHUP
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsync
01ea175f55740168d1dd0af3277d3b86a30b4f91vboxsync[Install]
01ea175f55740168d1dd0af3277d3b86a30b4f91vboxsyncAlias=getty.target.wants/getty@tty1.service getty.target.wants/getty@tty2.service getty.target.wants/getty@tty3.service getty.target.wants/getty@tty4.service getty.target.wants/getty@tty5.service getty.target.wants/getty@tty6.service
edd67c61375d89ff863e754caff339cd1ac77b38vboxsync