2017-11-19 00:35:03 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
2010-05-17 07:34:36 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08: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-17 07:34:36 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
2011-12-02 17:18:46 +08:00
|
|
|
# This unit gets pulled automatically into multi-user.target by
|
2013-01-05 04:48:47 +08:00
|
|
|
# systemd-rc-local-generator if @RC_LOCAL_SCRIPT_PATH_START@ is executable.
|
2010-05-17 07:34:36 +08:00
|
|
|
[Unit]
|
2013-01-05 04:48:47 +08:00
|
|
|
Description=@RC_LOCAL_SCRIPT_PATH_START@ Compatibility
|
2017-12-24 23:50:19 +08:00
|
|
|
Documentation=man:systemd-rc-local-generator(8)
|
2013-01-05 04:48:47 +08:00
|
|
|
ConditionFileIsExecutable=@RC_LOCAL_SCRIPT_PATH_START@
|
2011-12-02 18:32:52 +08:00
|
|
|
After=network.target
|
2010-05-17 07:34:36 +08:00
|
|
|
|
|
|
|
[Service]
|
2010-10-14 09:59:49 +08:00
|
|
|
Type=forking
|
2013-01-05 04:48:47 +08:00
|
|
|
ExecStart=@RC_LOCAL_SCRIPT_PATH_START@ start
|
2010-05-18 09:08:18 +08:00
|
|
|
TimeoutSec=0
|
2010-08-18 01:37:36 +08:00
|
|
|
RemainAfterExit=yes
|
2016-04-22 01:16:28 +08:00
|
|
|
GuessMainPID=no
|