serial-getty@.service.m4 revision 53bdb7c186cc83fdbd2eb71677c18c26954fbec9
853N/A# This file is part of systemd.
853N/A#
853N/A# systemd is free software; you can redistribute it and/or modify it
853N/A# under the terms of the GNU General Public License as published by
853N/A# the Free Software Foundation; either version 2 of the License, or
853N/A# (at your option) any later version.
853N/A
853N/A[Unit]
853N/ADescription=Serial Getty on %I
853N/ABindTo=dev-%i.device
853N/AAfter=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
853N/Am4_ifdef(`TARGET_FEDORA',
853N/AAfter=rc-local.service
853N/A)m4_dnl
853N/Am4_ifdef(`TARGET_ARCH',
853N/AAfter=rc-local.service
853N/A)m4_dnl
853N/Am4_ifdef(`TARGET_FRUGALWARE',
853N/AAfter=local.service
853N/A)m4_dnl
853N/Am4_ifdef(`TARGET_ALTLINUX',
853N/AAfter=rc-local.service
2899N/A)m4_dnl
853N/A
853N/A# If additional gettys are spawned during boot then we should make
853N/A# sure that this is synchronized before getty.target, even though
853N/A# getty.target didn't actually pull it in.
853N/ABefore=getty.target
1845N/A
1845N/A[Service]
1845N/AEnvironment=TERM=vt100
853N/AExecStart=-/sbin/agetty -s %I 115200,38400,9600
853N/ARestart=always
853N/ARestartSec=0
853N/AUtmpIdentifier=%I
853N/AKillMode=process-group
853N/A
853N/A# Some login implementations ignore SIGTERM, so we send SIGHUP
853N/A# instead, to ensure that login terminates cleanly.
1258N/AKillSignal=SIGHUP
853N/A