xrdp-next/xrdp-sesman.service
Bojan Smojver 182f0e85f2 Make xrdp-sesman.service stop when not needed by xrdp.service.
Also try to restart xrdp-sesman.service.
Just restarting xrdp.service not enough.
2012-05-26 08:53:12 +10:00

15 lines
330 B
Desktop File

[Unit]
Description=xrdp session manager
After=syslog.target network.target
StopWhenUnneeded=true
[Service]
Type=forking
PIDFile=/var/run/xrdp-sesman.pid
EnvironmentFile=/etc/sysconfig/xrdp
ExecStart=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS
ExecStop=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS --kill
[Install]
WantedBy=multi-user.target