From nobody Tue Jun 18 09:14:27 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W3Lfr01rBz5NQcX; Tue, 18 Jun 2024 09:14:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W3Lfq6dxRz4tX4; Tue, 18 Jun 2024 09:14:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718702067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/4aqLwPwxtNgViB0xcO5NNhefK+wUzywxef9wC3UGRY=; b=K7UFFzuNNpzTwakGSI5QuPOelCnT0syur2GKs4ANgifclll+YTHNBlW5SRcnT7YJz8ONyQ wwmJpKlugpBlC1zKLbop0dbCTMpVjBKf7dNlCDRIC3Y4YHEa472YvRSJJKyBHF9/aqz0q7 RZ/hA2lRRy8gFhH2x5Cl171yMZj20q5mXrm9DYda4AI1Q9kJnPnFVPz/Acxy6dY8gw1xbV Tq3686NjiA2zuPCDB8YmEyKlRav+Q09z62TZc4uKbNeJTZnO2MexEvgq2oYjiaPOIrgORy YG9mAXaBLAW+6vQU3tz5eUNWc5OTJZwzBmRYCfp5HHvyLTWyXRToO+c6/nFEBQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718702067; a=rsa-sha256; cv=none; b=Q5BhjOvejltZVSpHRROBqZv7oER2jmgZad8IKPhjG8f6mFqcCLWFY2lCI1/P7M1K1YQ+gD 6cR66lBluF6WrfM+112Ss8pjtPPG0zV+EhJn3MbCIDaqemwvaZJ3Ouf4P9wIkhtf7Z3lak 3jZJ1230FEEN0XF5hDUYjv0abvIW2ZSDw8Nl01muMEXwOweZMlCsF4Ze3hOYZvKj31iYK/ orRJr8MWGdOG+rHq+2Wb41EixD1Y1f6yK/SmMFby5wFetsJ5Pg9tfC7GSNGdkEw9sbK8ZX y/IKZ6NttObXXgWVx0g3yA1ni0tQlaOfCTEoK6lAqQybStQk5BFWefMmbM/oyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718702067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/4aqLwPwxtNgViB0xcO5NNhefK+wUzywxef9wC3UGRY=; b=qdw4sfAXU/qGSX2S0/zRRaJ5ijhVZ8j1hvRhu0zjaTD8kJXJZ1p8LGKaCsb6K4gLnB2Z5g shAi5VttSViQg7/csR/dINuGal8UQougMiPV8VSOHaq1n9iTsT9NCTYqJLEZHXlQxDPjLi 6VwMEEQqjli935RUsgw+I4mlIvUCZY+iiJBL+OFeNtNLMFGvraLYlZ9EXwKn0LvAThkHdQ XRy+itp12W5sEC+uC4r4WfE1cw9oluKAXLxCjxmDsNNwuAOxu4FO/SWa74/N7/obH4hfQW 8Vmv/UxkpqnZzynhSlpR2CV+l3Bw/u9N3THrDjhqrw5T6Kcbm+tYxxzbyDCBDA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W3Lfq6FSJzsXw; Tue, 18 Jun 2024 09:14:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45I9ERfv008605; Tue, 18 Jun 2024 09:14:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45I9ERjt008602; Tue, 18 Jun 2024 09:14:27 GMT (envelope-from git) Date: Tue, 18 Jun 2024 09:14:27 GMT Message-Id: <202406180914.45I9ERjt008602@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Eugene Grosbein Subject: git: af1b0aa5b957 - main - rc.subr: improve description for ${name}_offcmd List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eugen X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: af1b0aa5b957bbfedc929167aa3459ad2d8b6653 Auto-Submitted: auto-generated The branch main has been updated by eugen: URL: https://cgit.FreeBSD.org/src/commit/?id=af1b0aa5b957bbfedc929167aa3459ad2d8b6653 commit af1b0aa5b957bbfedc929167aa3459ad2d8b6653 Author: Eugene Grosbein AuthorDate: 2024-06-18 09:11:56 +0000 Commit: Eugene Grosbein CommitDate: 2024-06-18 09:13:51 +0000 rc.subr: improve description for ${name}_offcmd Clarify that ${name}_offcmd is for method start. MFC after: 3 days --- libexec/rc/rc.subr | 3 ++- share/man/man8/rc.subr.8 | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr index e540d8f7d207..f1f6cf6c8c2a 100644 --- a/libexec/rc/rc.subr +++ b/libexec/rc/rc.subr @@ -982,7 +982,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) diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index 4e3fa6771bf4..d2c9ce7af5d8 100644 --- a/share/man/man8/rc.subr.8 +++ b/share/man/man8/rc.subr.8 @@ -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 @@ -774,7 +774,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