1 # This file is part of systemd.
3 # systemd is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2.1 of the License, or
6 # (at your option) any later version.
9 Description=Serial Getty on %I
10 Documentation=man:agetty(8) man:systemd-getty-generator(8)
11 Documentation=http://0pointer.de/blog/projects/serial-console.html
13 After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
14 m4_ifdef(`TARGET_FEDORA',
15 After=rc-local.service
17 m4_ifdef(`TARGET_DEBIAN',
18 After=rc.local.service
20 m4_ifdef(`TARGET_ARCH',
21 After=rc-local.service
23 m4_ifdef(`TARGET_FRUGALWARE',
26 m4_ifdef(`TARGET_ALTLINUX',
27 After=rc-local.service
29 m4_ifdef(`TARGET_MANDRIVA',
30 After=rc-local.service
32 m4_ifdef(`TARGET_MAGEIA',
33 After=rc-local.service
36 # If additional gettys are spawned during boot then we should make
37 # sure that this is synchronized before getty.target, even though
38 # getty.target didn't actually pull it in.
43 ExecStart=-/sbin/agetty -s %I 115200,38400,9600 vt102
54 # Some login implementations ignore SIGTERM, so we send SIGHUP
55 # instead, to ensure that login terminates cleanly.