Skip to content

Commit a30f11c

Browse files
committed
Move signal info into a SIGNALS section.
1 parent 122bf08 commit a30f11c

File tree

2 files changed

+28
-10
lines changed

2 files changed

+28
-10
lines changed

docs/sudo_logsrvd.man.in

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1717
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1818
.\"
19-
.TH "SUDO_LOGSRVD" "@mansectsu@" "September 21, 2025" "Sudo @PACKAGE_VERSION@" "System Manager's Manual"
19+
.TH "SUDO_LOGSRVD" "@mansectsu@" "October 17, 2025" "Sudo @PACKAGE_VERSION@" "System Manager's Manual"
2020
.nh
2121
.if n .ad l
2222
.SH "NAME"
@@ -66,10 +66,6 @@ file or the file specified via the
6666
\fB\-f\fR
6767
option.
6868
.PP
69-
\fBsudo_logsrvd\fR
70-
rereads its configuration file when it receives SIGHUP and writes server
71-
state to the debug file (if one is configured) when it receives SIGUSR1.
72-
.PP
7369
The options are as follows:
7470
.TP 8n
7571
\fB\-f\fR \fIfile\fR, \fB\--file\fR=\fIfile\fR
@@ -125,6 +121,19 @@ file.
125121
For more information on configuring
126122
sudo.conf(@mansectform@),
127123
refer to its manual.
124+
.SH "SIGNALS"
125+
\fBsudo_logsrvd\fR
126+
responds to the following signals:
127+
.TP 6n
128+
HUP
129+
Reload the configuration file.
130+
The event log file is closed and re-opened if logging to a file
131+
and not syslog.
132+
Active log connections are otherwise unaffected.
133+
.TP 6n
134+
USR1
135+
Dump server state to the debug file (if one is configured).
136+
This includes a list of active client connections.
128137
.SH "FILES"
129138
.TP 26n
130139
\fI@sysconfdir@/sudo.conf\fR

docs/sudo_logsrvd.mdoc.in

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1616
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717
.\"
18-
.Dd September 21, 2025
18+
.Dd October 17, 2025
1919
.Dt SUDO_LOGSRVD @mansectsu@
2020
.Os Sudo @PACKAGE_VERSION@
2121
.Sh NAME
@@ -64,10 +64,6 @@ file or the file specified via the
6464
.Fl f
6565
option.
6666
.Pp
67-
.Nm
68-
rereads its configuration file when it receives SIGHUP and writes server
69-
state to the debug file (if one is configured) when it receives SIGUSR1.
70-
.Pp
7167
The options are as follows:
7268
.Bl -tag -width Ds
7369
.It Fl f Ar file , Fl -file Ns = Ns Ar file
@@ -120,6 +116,19 @@ file.
120116
For more information on configuring
121117
.Xr sudo.conf @mansectform@ ,
122118
refer to its manual.
119+
.Sh SIGNALS
120+
.Nm
121+
responds to the following signals:
122+
.Bl -tag -width USR1
123+
.It HUP
124+
Reload the configuration file.
125+
The event log file is closed and re-opened if logging to a file
126+
and not syslog.
127+
Active log connections are otherwise unaffected.
128+
.It USR1
129+
Dump server state to the debug file (if one is configured).
130+
This includes a list of active client connections.
131+
.El
123132
.Sh FILES
124133
.Bl -tag -width 24n
125134
.It Pa @sysconfdir@/sudo.conf

0 commit comments

Comments
 (0)