[X2Go-Commits] x2gothinclient.git - build-main (branch) updated: 1.0.1.8-81-g72b928a

X2Go dev team git-admin at x2go.org
Fri Jul 19 23:38:14 CEST 2013


The branch, build-main has been updated
       via  72b928a147fbe6b7765cc1b94bc74f6fe98a8553 (commit)
      from  6e6ebae510f6fdf0c547e9908e5e471cc9e05a14 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/x2gocdmanager.init |   49 ++++++++++++++++++++-------------------------
 1 file changed, 22 insertions(+), 27 deletions(-)

The diff of changes is:
diff --git a/debian/x2gocdmanager.init b/debian/x2gocdmanager.init
index 38fc91d..d759d30 100644
--- a/debian/x2gocdmanager.init
+++ b/debian/x2gocdmanager.init
@@ -33,8 +33,8 @@ set -e
 
 # use system's locale settings for the X2Go Client in TCE mode
 if [ -r /etc/default/locale ]; then
-        . /etc/default/locale
-        export LANG LANGUAGE
+	. /etc/default/locale
+	export LANG LANGUAGE
 fi
 
 . /lib/lsb/init-functions
@@ -48,35 +48,30 @@ DESC=x2gocdmanager
 test -x $DAEMON || exit 0
 
 case "$1" in
-  start)
-	log_daemon_msg "Starting $DESC" "x2gocdmanager"
-	start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
-	log_end_msg $?
+	start)
+		log_daemon_msg "Starting $DESC" "x2gocdmanager"
+		start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+		log_end_msg $?
 	;;
-  stop)
-	log_daemon_msg "Stopping $DESC" "x2gocdmanager"
-	start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid || true
-	log_end_msg $?
+	stop)
+		log_daemon_msg "Stopping $DESC" "x2gocdmanager"
+		start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid || true
+		log_end_msg $?
 	;;
-  force-reload)
-	start-stop-daemon --stop --test --quiet --pidfile \
-		/var/run/$NAME.pid  \
-	&& $0 restart \
-	|| exit 0
+	force-reload)
+		start-stop-daemon --stop --test --quiet --pidfile /var/run/$NAME.pid && $0 restart || exit 0
 	;;
-  restart)
-    echo -n "Restarting $DESC: "
-	start-stop-daemon --stop --quiet --pidfile \
-		/var/run/$NAME.pid 
-	sleep 1
-	start-stop-daemon --start --quiet --pidfile \
-		/var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
-	echo "$NAME."
+	restart)
+		log_daemon_msg "Restarting $DESC" "x2gocdmanager"
+		start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid
+		sleep 1
+		start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+		log_end_msg $?
 	;;
-  *)
-	N=/etc/init.d/$NAME
-	echo "Usage: $N {start|stop|restart|force-reload}" >&2
-	exit 1
+	*)
+		N=/etc/init.d/$NAME
+		echo "Usage: $N {start|stop|restart|force-reload}" >&2
+		exit 1
 	;;
 esac
 


hooks/post-receive
-- 
x2gothinclient.git (X2Go Thin Client Environment)

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 "x2gothinclient.git" (X2Go Thin Client Environment).




More information about the x2go-commits mailing list