2012-05-27 01:15:45 +08:00
|
|
|
[Unit]
|
|
|
|
Description=xrdp daemon
|
2017-01-31 06:15:43 +08:00
|
|
|
Documentation=man:xrdp(8) man:xrdp.ini(5)
|
2012-05-27 01:15:45 +08:00
|
|
|
Requires=xrdp-sesman.service
|
2017-01-31 06:15:43 +08:00
|
|
|
After=network.target xrdp-sesman.service
|
2012-05-27 01:15:45 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/var/run/xrdp.pid
|
2015-07-24 14:49:12 +08:00
|
|
|
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
|