getty@.service.m4 revision 30609d9c187331640125d6b7e3c650330304b383
294N/A# This file is part of systemd.
294N/A#
787N/A# systemd is free software; you can redistribute it and/or modify it
789N/A# under the terms of the GNU General Public License as published by
789N/A# the Free Software Foundation; either version 2 of the License, or
789N/A# (at your option) any later version.
1327N/A
789N/Am4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl
789N/Am4_ifdef(`TARGET_SUSE', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl
873N/Am4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl
789N/Am4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl
877N/Am4_ifdef(`TARGET_ARCH', `m4_define(`GETTY', `/sbin/agetty -8 38400')')m4_dnl
789N/Am4_dnl
294N/A[Unit]
873N/ADescription=Getty on %I
873N/ABefore=getty.target
789N/Am4_ifdef(`TARGET_FEDORA',
789N/AAfter=rc-local.service
789N/A)m4_dnl
873N/Am4_ifdef(`TARGET_ARCH',
789N/AAfter=rc-local.service
789N/A)m4_dnl
789N/A
1347N/A[Service]
1347N/AEnvironment=TERM=linux
1347N/AExecStart=GETTY %I
789N/ARestart=restart-always
1333N/ARestartSec=0
1333N/AKillMode=process-group
789N/A
789N/A# Some login implementations ignore SIGTERM, so we send SIGHUP
789N/A# instead, to ensure that login terminates cleanly.
789N/AKillSignal=SIGHUP
789N/A
1327N/A[Install]
1327N/AAlias=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
789N/A