summaryrefslogtreecommitdiff
path: root/pcr/xrdp/xrdp.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/xrdp/xrdp.service')
-rw-r--r--pcr/xrdp/xrdp.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/xrdp/xrdp.service b/pcr/xrdp/xrdp.service
new file mode 100644
index 000000000..269dff87b
--- /dev/null
+++ b/pcr/xrdp/xrdp.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=xrdp daemon
+Requires=xrdp-sesman.service
+After=syslog.target network.target xrdp-sesman.service
+
+[Service]
+Type=forking
+PIDFile=/var/run/xrdp.pid
+EnvironmentFile=/etc/xrdp/xrdp.ini
+ExecStart=/usr/bin/xrdp $XRDP_OPTIONS
+ExecStop=/usr/bin/xrdp $XRDP_OPTIONS --kill
+
+[Install]
+WantedBy=multi-user.target