[X2go-Commits] x2goserver.git - master (branch) updated: 3.0.99-2-116-g870f074

X2go dev team git-admin at x2go.org
Tue Jul 19 16:01:58 CEST 2011


The branch, master has been updated
       via  870f0743571be8f4f3c1612f87ca33e626aa195d (commit)
      from  26ca613e9d48e6368805f1a7aad471dead9cfc71 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 870f0743571be8f4f3c1612f87ca33e626aa195d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jul 19 16:02:21 2011 +0200

    Tab'ified (forgotten) init script.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog       |    1 +
 debian/x2goserver.init |   32 ++++++++++++++++----------------
 2 files changed, 17 insertions(+), 16 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index dcb4e66..9b93da2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ x2goserver (3.0.99.5-0~x2go3) UNRELEASED; urgency=low
   * Tab'ified postinst/postrm scripts.
   * Store SQLite db in /var/lib/x2go to comply to latest FHS.
   * Tab'ified (forgotten) scripts in /usr/sbin.
+  * Tab'ified (forgotten) init script.
 
   [Martin Oehler]
   * Removes old debug code fragment, fixes x2golistsessions parsing.
diff --git a/debian/x2goserver.init b/debian/x2goserver.init
index 14dbbe2..b553c3a 100644
--- a/debian/x2goserver.init
+++ b/debian/x2goserver.init
@@ -11,25 +11,25 @@
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 
 case "$1" in
-  start)
-	echo "Cleaning up stale x2go sessions."
-	/usr/sbin/x2gocleansessions
+	start)
+		echo "Cleaning up stale x2go sessions."
+		/usr/sbin/x2gocleansessions
 	;;
-  stop)
-	# kill x2gocleansessions, ignore on failure
-	killall x2gocleansessions || true
+	stop)
+		# kill x2gocleansessions, ignore on failure
+		killall x2gocleansessions || true
 	;;
-  reload|force-reload|restart)
-	# kill x2gocleansessions, ignore on failure
-	killall x2gocleansessions || true
-	echo "Cleaning up stale x2go sessions."
-	/usr/sbin/x2gocleansessions
+	reload|force-reload|restart)
+		# kill x2gocleansessions, ignore on failure
+		killall x2gocleansessions || true
+		echo "Cleaning up stale x2go sessions."
+		/usr/sbin/x2gocleansessions
 	;;
-  *)
-	N=/etc/init.d/x2goserver
-	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
-	echo "Usage: $N {start|stop|restart|force-reload}" >&2
-	exit 1
+	*)
+		N=/etc/init.d/x2goserver
+		# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+		echo "Usage: $N {start|stop|restart|force-reload}" >&2
+		exit 1
 	;;
 esac
 


hooks/post-receive
-- 
x2goserver.git (X2go Server)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2go Server).




More information about the x2go-commits mailing list