mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-27 03:21:32 +03:00
245992a0c0
Most importantly, let's highlight the differences to the rc-local behaviour in SysV. Fixes: #7703
24 lines
776 B
SYSTEMD
24 lines
776 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1+
|
|
#
|
|
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# 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
|
|
# (at your option) any later version.
|
|
|
|
# This unit gets pulled automatically into multi-user.target by
|
|
# systemd-rc-local-generator if @RC_LOCAL_SCRIPT_PATH_START@ is executable.
|
|
[Unit]
|
|
Description=@RC_LOCAL_SCRIPT_PATH_START@ Compatibility
|
|
Documentation=man:systemd-rc-local-generator(8)
|
|
ConditionFileIsExecutable=@RC_LOCAL_SCRIPT_PATH_START@
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=@RC_LOCAL_SCRIPT_PATH_START@ start
|
|
TimeoutSec=0
|
|
RemainAfterExit=yes
|
|
GuessMainPID=no
|