]>
Commit | Line | Data |
---|---|---|
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 | 13 | Description={{RC_LOCAL_PATH}} Compatibility |
245992a0 | 14 | Documentation=man:systemd-rc-local-generator(8) |
059cc610 | 15 | ConditionFileIsExecutable={{RC_LOCAL_PATH}} |
91b684c7 | 16 | After=network.target |
5e6afdd3 | 17 | |
5e6afdd3 | 18 | [Service] |
ddd941ed | 19 | Type=forking |
059cc610 | 20 | ExecStart={{RC_LOCAL_PATH}} start |
17758726 | 21 | TimeoutSec=infinity |
02ee865a | 22 | RemainAfterExit=yes |
7797fd24 | 23 | GuessMainPID=no |