udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / units / rc-local.service.in
blob6fb0838cdb46971a60af8429b66ec1194a14edab
1 #  SPDX-License-Identifier: LGPL-2.1-or-later
3 #  This file is part of systemd.
5 #  systemd is free software; you can redistribute it and/or modify it
6 #  under the terms of the GNU Lesser General Public License as published by
7 #  the Free Software Foundation; either version 2.1 of the License, or
8 #  (at your option) any later version.
10 # This unit gets pulled automatically into multi-user.target by
11 # systemd-rc-local-generator if {{RC_LOCAL_PATH}} is executable.
12 [Unit]
13 Description={{RC_LOCAL_PATH}} Compatibility
14 Documentation=man:systemd-rc-local-generator(8)
15 ConditionFileIsExecutable={{RC_LOCAL_PATH}}
16 After=network.target
18 [Service]
19 Type=forking
20 ExecStart={{RC_LOCAL_PATH}} start
21 TimeoutSec=infinity
22 RemainAfterExit=yes
23 GuessMainPID=no