From nobody Fri Sep 22 15:07:40 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 4RsbH06Gd8z4v0VK; Fri, 22 Sep 2023 15:07:40 +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 4RsbH04QF3z3ZTR; Fri, 22 Sep 2023 15:07:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695395260; 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=/zNOspGZx/wlysdpOETzbS5zz903cJnz3FctkkccEis=; b=YK13ERHjwFrT0vf9uCew1TPzeylXJLYWZQtNgeDSikxDmKZseQA0a2InfIcps8xX192ap4 MX4JEphzyFDMrJUeG+xPRH13Nmqbe85QDWcwWHw6rDnWrjXZQlAzi0gHl+Y335YPsiHOMQ xBQq9hT15Lvi5bFFFswdLQC+busu3HFKC/+yfwT1IzaUZ2YIWdOFMzOAG7TNfqzOEZ917H 8pD16q1WWxodZlk47Nstr6EvkEX3PXwL1fcNbBx6N9llR5K8xRw4sIxRfZtFu9mT10UT6J U6vecrpz7OODADYObpFhf+HfBcumpxGFYwGTld78oQChjCOfhJ1zYIJouW/ueQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695395260; a=rsa-sha256; cv=none; b=ZCvMo/dSwCLLlg1cBUaaVdD8cKtlT3tFlARx1rvmpzm9WdW4/z44WnClmM/SfUqOVos3EF gZ/YOTOd84tNvAxon0HK6J3y6E6An3wJ8NixL8rUstLq2qQ80RnwkmSnEebYF2hHLxucX5 Vu8AWLx92wN38r5+OOYhk+2aHSZVXqJFEuGwEVT+sYcKQCu0ctfneF4a5Tm3Jrqzpd/OfP Oo1FIaT9I46LsIJNCvlaxrqBktTxXPEBjNsPLmC3g6O1q9jK8KyKg8J7Ow5S2mWvKm/uCu Uph3H6qDfBr5beKKxvzcLVE8GR+tacUpEbF4ZZdQ4eUdqGplyYiSGekblK5Y3A== 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=1695395260; 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=/zNOspGZx/wlysdpOETzbS5zz903cJnz3FctkkccEis=; b=fMOqNnnbykQGb3b2daW52L9XCFvwqK+5hOK2IqG+wjbz87gTalX/F1QLqSAlHqvlwi968G TgtG16KY7BqhgrU7+EtQVOi8361bMJQr7f40o94AZ6UY/XFDkbEDQmfbeWtWDDH0sUo4+l bqoZ+L0qOal184+E2+mYM5rz1oFmLk+wdP84D1PGCLz2jv9uLA5AZu+dDTCYRkN0HMNSZA QaS4wkl20I7hw60/1Gl4SMC9HWG0WJOzhQpuWNY/dOPknNcmm+tBs+DsUb+Bx2n+7nZ/FS fz7huKO4/U+44/xHhDcT5oe/rcBXt3FOeUX8fJQphB8sZ5LrenDEPBDaxPxM7A== 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 4RsbH03WKwzBX9; Fri, 22 Sep 2023 15:07:40 +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 38MF7eLZ064183; Fri, 22 Sep 2023 15:07:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38MF7eS5064180; Fri, 22 Sep 2023 15:07:40 GMT (envelope-from git) Date: Fri, 22 Sep 2023 15:07:40 GMT Message-Id: <202309221507.38MF7eS5064180@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: 488064449b29 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 488064449b29d9241efeaeb19852136e20565639 Auto-Submitted: auto-generated The branch stable/13 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=488064449b29d9241efeaeb19852136e20565639 commit 488064449b29d9241efeaeb19852136e20565639 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-09-18 18:36:33 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-09-22 15:07: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