]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/rc-local.service.in
Merge pull request #33008 from fbuihuu/optionally-link-ssh-dropins
[thirdparty/systemd.git] / units / rc-local.service.in
CommitLineData
db9ecf05 1# SPDX-License-Identifier: LGPL-2.1-or-later
a7df2d1e 2#
5e6afdd3
LP
3# This file is part of systemd.
4#
5e6afdd3 5# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
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
5e6afdd3 8# (at your option) any later version.
5e6afdd3 9
15673083 10# This unit gets pulled automatically into multi-user.target by
059cc610 11# systemd-rc-local-generator if {{RC_LOCAL_PATH}} is executable.
5e6afdd3 12[Unit]
059cc610 13Description={{RC_LOCAL_PATH}} Compatibility
245992a0 14Documentation=man:systemd-rc-local-generator(8)
059cc610 15ConditionFileIsExecutable={{RC_LOCAL_PATH}}
91b684c7 16After=network.target
5e6afdd3 17
5e6afdd3 18[Service]
ddd941ed 19Type=forking
059cc610 20ExecStart={{RC_LOCAL_PATH}} start
17758726 21TimeoutSec=infinity
02ee865a 22RemainAfterExit=yes
7797fd24 23GuessMainPID=no