[X2Go-Commits] [x2goserver] 01/01: Fix the x2goserver.service unit file. Allow systemd to track the service after startup. (Fixes: #428).

git-admin at x2go.org git-admin at x2go.org
Sun Feb 9 19:55:40 CET 2014


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

x2go pushed a commit to branch master
in repository x2goserver.

commit daa8cfd4b77eac28db59d78938114548cf577192
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Sun Feb 9 19:54:06 2014 +0100

    Fix the x2goserver.service unit file. Allow systemd to track the service after startup. (Fixes: #428).
---
 debian/changelog   |    2 ++
 x2goserver.service |    2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 78cd598..7855fbf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -116,6 +116,8 @@ x2goserver (4.0.1.14-0x2go1) UNRELEASED; urgency=low
   * New upstream release (4.0.1.14):
     - Fix wrong path to xinitrd.d in Xsession (section for RPM based distros).
       Also, add some existence/readability checking. (Fixes: #414).
+    - Fix the x2goserver.service unit file. Allow systemd to track the service
+      after startup. (Fixes: #428).
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Tue, 28 Jan 2014 13:41:38 +0100
 
diff --git a/x2goserver.service b/x2goserver.service
index 18b276a..a9e66b9 100644
--- a/x2goserver.service
+++ b/x2goserver.service
@@ -2,7 +2,9 @@
 Description=X2Go Server Daemon
 
 [Service]
+Type=forking
 ExecStart=/usr/sbin/x2gocleansessions
+PIDFile=/run/x2goserver.pid
 
 [Install]
 WantedBy=multi-user.target

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git



More information about the x2go-commits mailing list