summaryrefslogtreecommitdiff
path: root/pcr/xrdp/xrdp.service
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-20 22:32:48 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-20 22:32:48 -0500
commit12a8731a7c5693233e261ece6bc2eb7cb14962de (patch)
tree3fdc6618a64d9635fc0d212606f87a2484499329 /pcr/xrdp/xrdp.service
parente4300bec0504ba738541f4db5466904bcc9702fd (diff)
xrdp-0.8.0-3: rebuild
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