]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/fedora/rc-local.service
units: synchronize with shutdown.target
[thirdparty/systemd.git] / units / fedora / rc-local.service
1 # This file is part of systemd.
2 #
3 # Copyright 2010 Lennart Poettering
4 #
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # systemd is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with systemd; If not, see <http://www.gnu.org/licenses/>.
17
18 [Unit]
19 Description=/etc/rc.local Compatibility
20 Requires=basic.target
21 Conflicts=shutdown.target
22
23 # The rcN.d symlink uses the name "local" while the script itself is
24 # called "rc.local", hence carry both names here.
25 Names=rc-local.service local.service
26
27 [Service]
28 ExecStart=/etc/rc.local start
29 Type=simple
30 TimeoutSec=0
31 StandardInput=tty
32 ValidNoProcess=yes
33 SysVStartPriority=99