chiark / gitweb /
service: when after startup only one process is in a service's cgroup, assume it...
[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 ConditionPathExists=/etc/rc.local
11
12 # The rcN.d symlink uses the name "local" while the script itself is
13 # called "rc.local", hence carry both names here.
14 Names=rc-local.service local.service
15
16 [Service]
17 Type=forking
18 ExecStart=/etc/rc.local start
19 TimeoutSec=0
20 StandardOutput=tty
21 RemainAfterExit=yes
22 SysVStartPriority=99
23
24 [Install]
25 WantedBy=multi-user.target