2020-11-09 04:23:58 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-18 16:35:03 +00:00
|
|
|
#
|
2010-05-16 23:34:36 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-11 22:20:58 +00:00
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
2010-05-16 23:34:36 +00:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
2011-12-02 09:18:46 +00:00
|
|
|
# This unit gets pulled automatically into multi-user.target by
|
2021-05-16 09:55:36 +00:00
|
|
|
# systemd-rc-local-generator if {{RC_LOCAL_PATH}} is executable.
|
2010-05-16 23:34:36 +00:00
|
|
|
[Unit]
|
2021-05-16 09:55:36 +00:00
|
|
|
Description={{RC_LOCAL_PATH}} Compatibility
|
2017-12-24 15:50:19 +00:00
|
|
|
Documentation=man:systemd-rc-local-generator(8)
|
2021-05-16 09:55:36 +00:00
|
|
|
ConditionFileIsExecutable={{RC_LOCAL_PATH}}
|
2011-12-02 10:32:52 +00:00
|
|
|
After=network.target
|
2010-05-16 23:34:36 +00:00
|
|
|
|
|
|
|
[Service]
|
2010-10-14 01:59:49 +00:00
|
|
|
Type=forking
|
2021-05-16 09:55:36 +00:00
|
|
|
ExecStart={{RC_LOCAL_PATH}} start
|
2023-06-06 07:29:51 +00:00
|
|
|
TimeoutSec=infinity
|
2010-08-17 17:37:36 +00:00
|
|
|
RemainAfterExit=yes
|
2016-04-21 17:16:28 +00:00
|
|
|
GuessMainPID=no
|