Subject: Bug#428: Fix x2goserver unit file

From: Orion Poplawski <[email-masked]>
Date: Wed, 05 Feb 2014 16:49:15 -0700

Package: x2goserver
Version: 4.0.1.13
Tags: patch

Fix the x2goserver.service unit file.

This allows systemd to track the service after startup.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [email-masked]
Boulder, CO 80301                   http://www.nwra.com
>From 5182a4376d6b7a2a68842cf1f74b77687a96e420 Mon Sep 17 00:00:00 2001
From: Orion Poplawski <[email-masked]>
Date: Wed, 5 Feb 2014 16:48:24 -0700
Subject: [PATCH] Fix x2goserver.service unit file

---
 x2goserver.service | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
1.8.5.3