From nobody Fri Sep 22 12:44:07 2023 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 4RsX5M6txpz4tpyj; Fri, 22 Sep 2023 12:44:07 +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 4RsX5M4czxz3K05; Fri, 22 Sep 2023 12:44:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695386647; 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=hNWh9ZbriRGA7Kp2riDGt4SmBLwkZrO1KLLviiEvjqo=; b=DyHSnXFkoO/tvb8MO2gpFQ5qazisC3gQ5CQH0FmfxxBZq80xy7TaTHZp17+lVtSBKc7G2H QLEJMJyy8SAwYzcgezLQuXGKn4ImOBwEhaS3jUx2kOGNnjIjVDZbIeUATO4vgK6qGRrmzT 7q2G7j0PzRnMUjIKOJ2mB+kK8J8fP3hIMRXENgaAGGrz/l8sZ2kC0T9GpXq26Lo8jv891u 0ri2mbpVxGHUGONAue0bRNGsNs0MVVn9oy3PEcHD4CazIhWiKwC3EdXhEnHz8+m9dpTMzO s1SGbf7BmWN8qiR/TdbB2qyEcGZaE1fcPaM+KNSLiRWW2uzlwl4KPAlK5lRWZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695386647; a=rsa-sha256; cv=none; b=SFqCFjujztRIGPhrI0YtaU58ceSY+YQWYzntz0+7BIuLvrl9CEXmo+bKSmXoyulhUfyokb o+m9GI1rONzYJYijlCInQDbJDq1um8P65G/KKmZ8eiUhP8sBqVzIhv3HhXLTIUQ70J18bP 1uYSjobVCjrhodQF0C80m94nYp8PLg9G4RIDb3bgW7MAY8yRS+HAhVl07f3OhnPiAQQ5Ov vR1NWmZZK0DTLspULJstcTn+fdQYW8/AiRjN+uX1B1JrHkRzt/8FKo6Qh1KsV7rHouQvtN 0XQZ84i6xAGPmGfaMiGjVIxnEUOGwG+hT4dF9PrRXiAQLCxsV+AN+r/aH+cPog== 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=1695386647; 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=hNWh9ZbriRGA7Kp2riDGt4SmBLwkZrO1KLLviiEvjqo=; b=AYyfdZaxM7PgujxyTCCRL5k+/En388Qsh1HiKxAx17SxVWpngQJkvhOdE/AoAvP8ZKP9B9 W4P7Uc3GYkx1YRecl5+BiHkgv4/y9m9FgSZR5Tyfu2EIsSgXF9s8N/ZzMTAHT0o0MuG2vg bix8RQij63eaL2r7Vqjy5y6SqGO93sMIpc695avsURznOhoO36iC1P56nkKRoF2BKFY9AT 0gpyhliF0YUeexChdsu/AMyZYLRz984diAUUVW2X6gwBpOahqqbxM1ZLDunV8AJhfCthPJ QUHzd4Cldv/vOOUqhfbuD7Js6p4BaF//elSMjjDbU1LVh5pIW5y41iNzbga6AA== 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 4RsX5M3VRQz6t8; Fri, 22 Sep 2023 12:44:07 +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 38MCi7OM030680; Fri, 22 Sep 2023 12:44:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38MCi7CB030677; Fri, 22 Sep 2023 12:44:07 GMT (envelope-from git) Date: Fri, 22 Sep 2023 12:44:07 GMT Message-Id: <202309221244.38MCi7CB030677@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: f4438540a1d5 - stable/14 - daemon.8: Use Cm where appropriate 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: 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/14 X-Git-Reftype: branch X-Git-Commit: f4438540a1d575660c9a10ab6d826240562b2e1e Auto-Submitted: auto-generated The branch stable/14 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=f4438540a1d575660c9a10ab6d826240562b2e1e commit f4438540a1d575660c9a10ab6d826240562b2e1e Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-09-18 18:36:33 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-09-22 12:41:28 +0000 daemon.8: Use Cm where appropriate MFC after: 3 days (cherry picked from commit a5bc8e8a5863c4aea5ed7ebe2ebc2332c287545c) --- usr.sbin/daemon/daemon.8 | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/usr.sbin/daemon/daemon.8 b/usr.sbin/daemon/daemon.8 index 35b877039e4a..87b9bec0b3e8 100644 --- a/usr.sbin/daemon/daemon.8 +++ b/usr.sbin/daemon/daemon.8 @@ -94,9 +94,15 @@ the absolute path needs to be provided to ensure can re-open the file after a .Dv SIGHUP . .It Fl m , Fl -output-mask Ar output_mask -Redirect output from the child process stdout (1), stderr (2), or both (3). +Redirect output from the child process stdout +.Pq Cm 1 , +stderr +.Pq Cm 2 , +or both +.Pq Cm 3 . This value specifies what is sent to syslog and the log file. -The default is 3. +The default is +.Cm 3 . .It Fl p , Fl -child-pidfile Ar child_pidfile Write the ID of the created process into the .Ar child_pidfile @@ -148,17 +154,29 @@ The default is the daemonized invocation. Login name of the user to execute the program under. Requires adequate superuser privileges. .It Fl s , Fl -syslog-priority Ar syslog_priority -These priorities are accepted: emerg, alert, crit, err, warning, -notice, info, and debug. -The default is notice. +These priorities are accepted: +.Cm emerg , alert , crit , err , warning , +.Cm notice , info , +and +.Cm debug . +The default is +.Cm notice . .It Fl l , Fl -syslog-facility Ar syslog_facility -These facilities are accepted: auth, authpriv, console, cron, daemon, -ftp, kern, lpr, mail, news, ntp, security, syslog, user, uucp, and -local0, ..., local7. -The default is daemon. +These facilities are accepted: +.Cm auth , authpriv , console , cron , daemon , +.Cm ftp , kern , lpr , mail , news , ntp , security , +.Cm syslog , user , uucp , +and +local facilities from +.Cm local0 +to +.Cm local7 . +The default is +.Cm daemon . .It Fl T , Fl -syslog-tag Ar syslog_tag Set the tag which is appended to all syslog messages. -The default is daemon. +The default is +.Cm daemon . .El .Pp If any of the options