xrdp/instfiles/xrdp-sesman.service
Dominik George 5b2364196c Some fixes/improvements to service files. (#646)
* Add Documentation field so the systemctl help command works.
 * Remove syslog.target as syslog is normally socket-activated now.
2017-01-30 20:15:43 -02:00

18 lines
424 B
Desktop File

[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=/var/run/xrdp-sesman.pid
EnvironmentFile=-/etc/sysconfig/xrdp
EnvironmentFile=-/etc/default/xrdp
ExecStart=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS
ExecStop=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS --kill
[Install]
WantedBy=multi-user.target