chiark / gitweb /
units: make sure that rc-local.service is run before the getty on tty1, so that they...
[elogind.git] / units / fedora / rc-local.service
1 #  This file is part of systemd.
2 #
3 #  systemd is free software; you can redistribute it and/or modify it
4 #  under the terms of the GNU General Public License as published by
5 #  the Free Software Foundation; either version 2 of the License, or
6 #  (at your option) any later version.
7
8 [Unit]
9 Description=/etc/rc.local Compatibility
10 Requires=basic.target
11 After=basic.target
12 Conflicts=shutdown.target
13 Before=getty@tty1.service
14
15 # The rcN.d symlink uses the name "local" while the script itself is
16 # called "rc.local", hence carry both names here.
17 Names=rc-local.service local.service
18
19 [Service]
20 ExecStart=/etc/rc.local start
21 TimeoutSec=0
22 StandardInput=tty
23 ValidNoProcess=yes
24 SysVStartPriority=99