[debian-edu-commits] debian-edu/pkg-team/ 62/159: Add Debian-tailored service files

Dominik George natureshadow-guest at moszumanska.debian.org
Tue Feb 23 10:04:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

natureshadow-guest pushed a commit to branch master
in repository xrdp.

commit baf265dc5a45c2205bdbfba351e1771d7dcb8b4f
Author: Dominik George <nik at naturalnet.de>
Date:   Fri Aug 7 12:10:44 2015 +0200

    Add Debian-tailored service files
---
 xrdp-sesman.service | 15 +++++++++++++++
 xrdp.service        | 14 ++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/xrdp-sesman.service b/xrdp-sesman.service
new file mode 100644
index 0000000..21fb055
--- /dev/null
+++ b/xrdp-sesman.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Remote Desktop Protocol (RDP) server - Session Manager
+After=syslog.target network.target
+StopWhenUnneeded=true
+BindTo=xrdp.service
+
+[Service]
+Type=forking
+PIDFile=/var/run/xrdp/xrdp-sesman.pid
+EnvironmentFile=/etc/default/xrdp
+ExecStart=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS
+ExecStop=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS --kill
+
+[Install]
+WantedBy=multi-user.target
diff --git a/xrdp.service b/xrdp.service
new file mode 100644
index 0000000..f013f3f
--- /dev/null
+++ b/xrdp.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Remote Desktop Protocol (RDP) server
+Requires=xrdp-sesman.service
+After=syslog.target network.target xrdp-sesman.service
+
+[Service]
+Type=forking
+PIDFile=/var/run/xrdp/xrdp.pid
+EnvironmentFile=/etc/default/xrdp
+ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS --nodaemon
+ExecStop=/usr/sbin/xrdp $XRDP_OPTIONS --kill
+
+[Install]
+WantedBy=multi-user.target

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/xrdp.git



More information about the debian-edu-commits mailing list