Skip to content

Commit

Permalink
Support and document SIGHUP for xrdp-sesman
Browse files Browse the repository at this point in the history
  • Loading branch information
matt335672 committed Nov 8, 2022
1 parent 4ff968b commit 64cfec9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/man/xrdp-sesman.8.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ If you use this option, be aware that you will have to have a
the system (notably \fBxrdp(8)\fR and \fBxrdp\-chansrv(8)\fR) will want
to read it.
.RE
.SH "SIGNALS"
.TP
\fBSIGHUP\fR
Causes the process to reload its configuration.
On systemd-based systems, use 'systemctl reload xrdp-sesman.service' instead.
.SH "FILES"
@sbindir@/xrdp\-sesman
.br
Expand Down
1 change: 1 addition & 0 deletions instfiles/xrdp-sesman.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ PIDFile=@localstatedir@/run/xrdp-sesman.pid
EnvironmentFile=-@sysconfdir@/sysconfig/xrdp
EnvironmentFile=-@sysconfdir@/default/xrdp
ExecStart=@sbindir@/xrdp-sesman $SESMAN_OPTIONS
ExecReload=kill -HUP $MAINPID
ExecStop=@sbindir@/xrdp-sesman $SESMAN_OPTIONS --kill

[Install]
Expand Down

0 comments on commit 64cfec9

Please sign in to comment.