[X2Go-Commits] x2goserver.git - build-baikal (branch) updated: 3.1.1.9-11-g23f6b25
X2Go dev team
git-admin at x2go.org
Wed Dec 4 06:22:18 CET 2013
The branch, build-baikal has been updated
via 23f6b25d1b586b9f82c17098f87c6b469b46d506 (commit)
from 6199b60e71cd957a7bf49fbfde82f0bb399d0138 (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/changelog | 1 +
debian/x2goserver.init | 30 ++++++++++++++++++++++--------
2 files changed, 23 insertions(+), 8 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 9f0d4e8..9ff369d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ x2goserver (3.1.1.10-0~x2go1) UNRELEASED; urgency=low
[ Oleksandr Shneyder ]
* New upstream version (3.1.1.10):
- Fix SSHFS mounting from Ubuntu clients
+ - Create /tmp/.X11-unix if not exists.
[ Reinhard Tartler ]
* New upstream version (3.1.1.10):
diff --git a/debian/x2goserver.init b/debian/x2goserver.init
index b56a4cb..5ae86e4 100644
--- a/debian/x2goserver.init
+++ b/debian/x2goserver.init
@@ -9,21 +9,35 @@
### END INIT INFO
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+XSOCKDIR=/tmp/.X11-unix
-case "$1" in
- start)
+start()
+{
+ if [ ! -d $XSOCKDIR ]
+ then
+ mkdir $XSOCKDIR
+ chmod 1777 $XSOCKDIR
+ fi
echo "Cleaning up stale X2Go sessions."
/usr/sbin/x2gocleansessions
- ;;
- stop)
+}
+
+stop()
+{
# kill x2gocleansessions, ignore on failure
killall x2gocleansessions || true
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
;;
reload|force-reload|restart)
- # kill x2gocleansessions, ignore on failure
- killall x2gocleansessions || true
- echo "Cleaning up stale X2Go sessions."
- /usr/sbin/x2gocleansessions
+ stop
+ start
;;
*)
N=/etc/init.d/x2goserver
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