3a0a932472
Adds a --reload switch to sesman and plumbs this in to systemctl reload xrdp-sesman.service
19 lines
509 B
SYSTEMD
19 lines
509 B
SYSTEMD
[Unit]
|
|
Description=xrdp session manager
|
|
Documentation=man:xrdp-sesman(8) man:sesman.ini(5)
|
|
After=network.target
|
|
StopWhenUnneeded=true
|
|
BindsTo=xrdp.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=@localstatedir@/run/xrdp-sesman.pid
|
|
EnvironmentFile=-@sysconfdir@/sysconfig/xrdp
|
|
EnvironmentFile=-@sysconfdir@/default/xrdp
|
|
ExecStart=@sbindir@/xrdp-sesman $SESMAN_OPTIONS
|
|
ExecStop=@sbindir@/xrdp-sesman $SESMAN_OPTIONS --kill
|
|
ExecReload=@sbindir@/xrdp-sesman $SESMAN_OPTIONS --reload
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|