chiark / gitweb /
fedora: make sure both prefdm and rc-local depend on base.target properly
[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
14 # The rcN.d symlink uses the name "local" while the script itself is
15 # called "rc.local", hence carry both names here.
16 Names=rc-local.service local.service
17
18 [Service]
19 ExecStart=/etc/rc.local start
20 Type=simple
21 TimeoutSec=0
22 StandardInput=tty
23 ValidNoProcess=yes
24 SysVStartPriority=99