xrdp/instfiles/xrdp-sesman.service
Blindauer Emmanuel 4179589548 Add default directory for debian, and set them optional
Remove the --nodaemon which makes the service fail at start
2015-07-24 08:49:12 +02:00

17 lines
386 B
Desktop File

[Unit]
Description=xrdp session manager
After=syslog.target network.target
StopWhenUnneeded=true
BindTo=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