serial-getty@.service.m4 revision 7143555ce8f94b002d06b9b058d7d90c3a4901a9
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# This file is part of systemd.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# systemd is free software; you can redistribute it and/or modify it
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# under the terms of the GNU Lesser General Public License as published by
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# the Free Software Foundation; either version 2.1 of the License, or
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# (at your option) any later version.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte[Unit]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteDescription=Serial Getty on %I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteDocumentation=man:agetty(8) man:systemd-getty-generator(8)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteDocumentation=http://0pointer.de/blog/projects/serial-console.html
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteBindsTo=dev-%i.device
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteAfter=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortem4_ifdef(`HAVE_SYSV_COMPAT',
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteAfter=rc-local.service
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte)m4_dnl
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If additional gettys are spawned during boot then we should make
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# sure that this is synchronized before getty.target, even though
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# getty.target didn't actually pull it in.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteBefore=getty.target
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIgnoreOnIsolate=yes
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte[Service]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteExecStart=-/sbin/agetty --keep-baud %I 115200,38400,9600 $TERM
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteType=idle
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteRestart=always
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteRestartSec=0
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteUtmpIdentifier=%I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteTTYPath=/dev/%I
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteTTYReset=yes
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteTTYVHangup=yes
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteKillMode=process
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteIgnoreSIGPIPE=no
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSendSIGHUP=yes
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte[Install]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteWantedBy=getty.target
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte