Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2023 15:07:39 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ab77ddea3325 - stable/13 - daemon.8: Use Dv for signal names
Message-ID:  <202309221507.38MF7d3T064138@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=ab77ddea332528c306faf356d49e7b58cf1526b6

commit ab77ddea332528c306faf356d49e7b58cf1526b6
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2023-09-18 18:28:27 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2023-09-22 15:07:28 +0000

    daemon.8: Use Dv for signal names
    
    MFC after:      3 days
    
    (cherry picked from commit 735637f7d68777d0befa4b9a9291f3fc02b5ed00)
---
 usr.sbin/daemon/daemon.8 | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/usr.sbin/daemon/daemon.8 b/usr.sbin/daemon/daemon.8
index 4c7064fc9b67..35b877039e4a 100644
--- a/usr.sbin/daemon/daemon.8
+++ b/usr.sbin/daemon/daemon.8
@@ -69,7 +69,9 @@ specified by the other options.
 .It Fl H , Fl -sighup
 Close
 .Pa output_file
-and re-open it when signal SIGHUP is received, for interoperability with
+and re-open it when signal
+.Dv SIGHUP
+is received, for interoperability with
 .Xr newsyslog 1
 and similar log rotation / archival mechanisms.  If
 .Fl -output-file
@@ -89,7 +91,8 @@ and
 .Fl -sighup
 the absolute path needs to be provided to ensure
 .Nm
-can re-open the file after a SIGHUP.
+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).
 This value specifies what is sent to syslog and the log file.
@@ -177,7 +180,9 @@ waits until it terminates to keep the pid file(s) locked and removes them
 after the process exits or restarts the program.
 In this case if the monitoring
 .Nm
-receives software termination signal (SIGTERM) it forwards it to the
+receives software termination signal
+.Pq Dv SIGTERM
+it forwards it to the
 spawned process.
 Normally it will cause the child to exit, remove the pidfile(s)
 and then terminate.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309221507.38MF7d3T064138>