summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2008-04-07 14:45:19 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2008-04-07 14:45:19 +0000
commitec84f6e71ce3fdec74315de3599c6c463c4bc7fe (patch)
tree3d987cbdfd17f8c27deaa5b8dc5c5f55a292b459 /net-misc
parentMarked 2.8 stable for amd64 wrt #216570. Modified 2.82 so it doesn't dep. on ... (diff)
downloadgentoo-2-ec84f6e71ce3fdec74315de3599c6c463c4bc7fe.tar.gz
gentoo-2-ec84f6e71ce3fdec74315de3599c6c463c4bc7fe.tar.bz2
gentoo-2-ec84f6e71ce3fdec74315de3599c6c463c4bc7fe.zip
Clean sessions when stopping server
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/nxserver-freenx/ChangeLog5
-rw-r--r--net-misc/nxserver-freenx/files/nxserver.init3
2 files changed, 6 insertions, 2 deletions
diff --git a/net-misc/nxserver-freenx/ChangeLog b/net-misc/nxserver-freenx/ChangeLog
index 61b538b38ddb..a5f66ce35981 100644
--- a/net-misc/nxserver-freenx/ChangeLog
+++ b/net-misc/nxserver-freenx/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/nxserver-freenx
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.45 2008/04/02 08:46:47 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.46 2008/04/07 14:45:18 voyageur Exp $
+
+ 07 Apr 2008; Bernard Cafarelli <voyageur@gentoo.org> files/nxserver.init:
+ Clean sessions when stopping server
*nxserver-freenx-0.7.2-r1 (02 Apr 2008)
diff --git a/net-misc/nxserver-freenx/files/nxserver.init b/net-misc/nxserver-freenx/files/nxserver.init
index 62b1146927c4..564d0d679646 100644
--- a/net-misc/nxserver-freenx/files/nxserver.init
+++ b/net-misc/nxserver-freenx/files/nxserver.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/files/nxserver.init,v 1.2 2008/01/03 10:41:12 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/files/nxserver.init,v 1.3 2008/04/07 14:45:19 voyageur Exp $
depend() {
before sshd
@@ -17,6 +17,7 @@ start() {
stop() {
ebegin "Stopping FreeNX server"
/usr/bin/nxserver --stop >/dev/null 2>&1
+ /usr/bin/nxserver --cleanup >/dev/null 2>&1
eend 0
}