mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-02 22:54:52 +00:00
rc.subr: improve description for ${name}_offcmd
Clarify that ${name}_offcmd is for method start.
(cherry picked from commit af1b0aa5b9
)
This commit is contained in:
parent
cbfeaa80e3
commit
73d1f732ce
|
@ -811,7 +811,8 @@ startmsg()
|
|||
#
|
||||
# ${name}_limits n limits(1) to apply to ${command}.
|
||||
#
|
||||
# ${name}_offcmd n If set, run if a service is not enabled.
|
||||
# ${name}_offcmd n If set, run during start
|
||||
# if a service is not enabled.
|
||||
#
|
||||
# ${rc_arg}_cmd n If set, use this as the method when invoked;
|
||||
# Otherwise, use default command (see below)
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd June 2, 2024
|
||||
.Dd June 18, 2024
|
||||
.Dt RC.SUBR 8
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -632,7 +632,7 @@ Login class to use with
|
|||
Defaults to
|
||||
.Dq Li daemon .
|
||||
.It Va ${name}_offcmd
|
||||
Shell commands to run if a service is not enabled.
|
||||
Shell commands to run during start if a service is not enabled.
|
||||
.It Va ${name}_oomprotect
|
||||
.Xr protect 1
|
||||
.Va command
|
||||
|
|
Loading…
Reference in a new issue