From nobody Wed Oct 02 09:29:58 2024 X-Original-To: dev-commits-src-all@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 4XJTzp6d2yz5YFwR; Wed, 02 Oct 2024 09:29:58 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XJTzp4GRzz3x1Q; Wed, 2 Oct 2024 09:29:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727861398; 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=zJQUQG8Ih54zP/ZJieztQKmcgfhxm4bfu1OUqPQ5xE0=; b=NH0u3k2mwqzV0BVq8B5LAG8TT2qYk/O0KhlKYGO8rjfTHT3MpxhlO3qtTwG5058uQg5kPD m805APJ9RuQi8BN+08o61sBHLf5P/rFvFA/G35pHvdN2E4F8IVzyMjGzAxIYIuZKgttK87 KMXUUU2FPWywIU+LGKp29Jxbm28/Wp66R3fkoMtEgjVAM8KLL3gO/UZYmo0K8oRG687RUK gge+JeOtQg1IyrIhWQa7/w2Ip9y7xrhVBUM74pg4jefrwLvsraIXKsOIx5mB8ysGl2BtMm W6N5+Z9kzRAi2aVCSzG0br1eF4UcJg5Og4halGGODTE6oBJUnajvbIzAQwDdGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727861398; 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=zJQUQG8Ih54zP/ZJieztQKmcgfhxm4bfu1OUqPQ5xE0=; b=h3xbUnzaOkV0Jd9/ZtPriDRQgbMkC87W1t79gG94BBzjjGwOnpvDQSFiWTmBYFMeon2RBj Mh3KZtqtPFbVVGkFgDye2YRCsn2fG+TAv54JxVivxozlJVaRJwlHqXzv1XAX19Lur3eELZ 52CwDl4E1Sncmtjd9Lk1Ri29kiDakNYrDzR+XHzdym7Z13le6WLlxV3ysc4NUgtKi4v1UX VXdHUcBBxWNTgHSBj+rYjvVQr6fw1+MuPVl1hbVxrfyXZ+MGbb9hsQhAx6EkOBEX7RHrHg gfV++3+5jAa8HYZDMwV/1n1hnooYegdUZ60IPqZVGCjxdkuC9+aBz5RyEJQSKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727861398; a=rsa-sha256; cv=none; b=r2pUGoB8LAAaEnb6upmq2v/EknQ5iBRlg1drCzT5pPHaUXzW9UF/Wqb9EhXrExzobh7vTq DwWTEoFms90LakTDqzS/YIFKVMWreEt2PrjtVjscgwSyZOv+nuIeXcA1/YlSNbgtsL6kfY SVnFtU+uc8fq1EuFh5qn6Ba1FJDGTlRl3AYiE0+Ta6IqOdkm7jffGvnULky3kjp522Xvzh eH3rl6Cd94IZKSjp/qK7/Mf+OZYQ5q/h4cn0C39Nq7kANV4+fxa9uxihjmS+AtINddUUAq jj76RNg8CL7FVJ2iflEAR3vc/gkGb7EK5LYOnwFs3TdfnNSkyKC9iLle0uysYw== 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 4XJTzp3t6jz1FBg; Wed, 2 Oct 2024 09:29:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4929TwQ0090600; Wed, 2 Oct 2024 09:29:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4929TwEZ090597; Wed, 2 Oct 2024 09:29:58 GMT (envelope-from git) Date: Wed, 2 Oct 2024 09:29:58 GMT Message-Id: <202410020929.4929TwEZ090597@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 416612c63772 - stable/13 - rc.subr.8: Fix the Bl macro of a list which is actually a table List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 416612c6377266f20def000ea0b68d04d1ed8bd6 Auto-Submitted: auto-generated The branch stable/13 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=416612c6377266f20def000ea0b68d04d1ed8bd6 commit 416612c6377266f20def000ea0b68d04d1ed8bd6 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2024-09-22 18:21:17 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2024-10-02 09:27:12 +0000 rc.subr.8: Fix the Bl macro of a list which is actually a table MFC after: 2 weeks (cherry picked from commit 6e414739fc95663836a5a10a8cf13e0211fd5efc) --- share/man/man8/rc.subr.8 | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index 888e9f914b99..b506eb1d6ee3 100644 --- a/share/man/man8/rc.subr.8 +++ b/share/man/man8/rc.subr.8 @@ -724,17 +724,16 @@ if .Ar argument Ns Va _cmd is not defined, then a default method is provided by .Ic run_rc_command : -.Bl -tag -width "Argument" -offset indent -.It Sy Argument -.Sy Default method -.It Cm start +.Bl -column "Argument" "Default Method" -offset indent +.It Sy Argument Ta Sy Default method +.It Cm start Ta If .Va command is not running and .Ic checkyesno Va rcvar succeeds, start .Va command . -.It Cm stop +.It Cm stop Ta Determine the PIDs of .Va command with @@ -746,7 +745,7 @@ or those PIDs, and run .Ic wait_for_pids on those PIDs. -.It Cm reload +.It Cm reload Ta Similar to .Cm stop , except that it uses @@ -763,21 +762,21 @@ It can be enabled via if appropriate: .Pp .Dl "extra_commands=reload" -.It Cm restart +.It Cm restart Ta Runs the .Cm stop method, then the .Cm start method. -.It Cm status +.It Cm status Ta Show the PID of .Va command , or some other script specific status operation. -.It Cm poll +.It Cm poll Ta Wait for .Va command to exit. -.It Cm rcvar +.It Cm rcvar Ta Display which .Xr rc.conf 5 variable is used (if any).