From nobody Mon Sep 18 21:59:42 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 4RqJcH1zXFz4tp5x; Mon, 18 Sep 2023 21:59:43 +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 4RqJcH1TYjz4cs2; Mon, 18 Sep 2023 21:59:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695074383; 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=BmdQkU+LBuoAie9hAstH5mQklonwGNSdpXECNe3eNtU=; b=ENoLQBUGsibusmYCq4MCPhccax1dDvwXOLjn0YgwBfeyz94fOzRM5az8908rD3nYJSYG9m 3WfSj0lH1FnLD7pGupjWKwkTAGitWSCSisKbrqp/300AwN+pJ+gGIAssOzqF6gmgEv7od5 ycsdS06JkQeKitBc2L2Yxch9KgwG7Ur89B0bOeqiPZvdNKctd0xNxZQ12RFx4KtnNZ5RWe jyIEq2gWzR813/iS43ihyCU0Qh0W9X3zriKinmlPEEBit2ntGroc44BTPi5exDLHiWxT5w ydxPj1z/DHjvu4VLc1Ffs2tuMEvIdpjSlA59TFXNuaunvZna5unQ3xDR4cjMLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695074383; a=rsa-sha256; cv=none; b=NwhD8jV0d/IL0f94Ayw35WeSnSIKIUktIW6ePP/WTmbkXXdZ57kYt1je9vSZHDXaXFpgCR Xm0BWYT6PVjUcRRujNXge2vIZDJtr6GsKquYp754HQzgFMK9MgghiEN2/zcf/cR0r8C2NK FYXxyYQm4AIS6OtIhJrFTqJ0Hf4W05+DE3fNpvxrCXxYZEXwoujUD4GIhNAQVHkr9ToO3/ ZbsRGSJ+jAjFeJEaaWKr0z8YBdSIMKDGjBXrmeB9weKJTyjXWs662qQD76G8z6YCq+YXqj 3TgTHtQKEww2iPt6NCMUuY70NB8NMXDBdpfpXUDaQjfKmu3Yc2PHVB06CWyqzg== 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=1695074383; 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=BmdQkU+LBuoAie9hAstH5mQklonwGNSdpXECNe3eNtU=; b=NX9F66AbQ1s2smbNmDyZO9EB7Whcka1DQBsAmAEwg3x0O5Lcqcy/yvZaWtljytYlkxrZhC +QK14a3LVWR+8krINA7H36srt043wi1rBsWL4i2cUSs8bPkLFu0OkwoBKS4H6TJwGT8xbo uBxh4ZX/YPKSPo8JZM5VfQoew7EHPIzwLMN48KaHfwywlOt56/mOXbbSXj+ibpb2wzIgrJ iZdJyyTo44L2lWU+gRChcfSFUvkJfPRSXnk3xjJZo78GIXECnM+FiyJQbgQdHEVluoeICA KXWne1BZWDEuAw06AcyFe1BrR+DOP8feZpJjDyZRHRAIjLBWbE1qEhQRN72uQA== 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 4RqJcH0F0GzmsV; Mon, 18 Sep 2023 21:59:43 +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 38ILxgu9045269; Mon, 18 Sep 2023 21:59:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38ILxgBA045266; Mon, 18 Sep 2023 21:59:42 GMT (envelope-from git) Date: Mon, 18 Sep 2023 21:59:42 GMT Message-Id: <202309182159.38ILxgBA045266@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: a5bc8e8a5863 - main - 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/main X-Git-Reftype: branch X-Git-Commit: a5bc8e8a5863c4aea5ed7ebe2ebc2332c287545c Auto-Submitted: auto-generated The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=a5bc8e8a5863c4aea5ed7ebe2ebc2332c287545c commit a5bc8e8a5863c4aea5ed7ebe2ebc2332c287545c Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-09-18 18:36:33 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-09-18 21:59:10 +0000 daemon.8: Use Cm where appropriate MFC after: 3 days --- 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