xrdp/instfiles/xrdp-sesman.service.in

19 lines
509 B
SYSTEMD
Raw Normal View History

[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