xrdp/instfiles/xrdp.service

17 lines
387 B
SYSTEMD
Raw Normal View History

2012-05-27 01:15:45 +08:00
[Unit]
Description=xrdp daemon
Documentation=man:xrdp(8) man:xrdp.ini(5)
2012-05-27 01:15:45 +08:00
Requires=xrdp-sesman.service
After=network.target xrdp-sesman.service
2012-05-27 01:15:45 +08:00
[Service]
Type=forking
PIDFile=/var/run/xrdp.pid
EnvironmentFile=-/etc/sysconfig/xrdp
EnvironmentFile=-/etc/default/xrdp
ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS
2012-05-27 01:15:45 +08:00
ExecStop=/usr/sbin/xrdp $XRDP_OPTIONS --kill
[Install]
WantedBy=multi-user.target