[Pkg-grid-commits] nws/debian changelog,1.11,1.12 init.d,1.1,1.2

Martin Quinson mquinson at alioth.debian.org
Mon Sep 19 22:46:09 UTC 2005


Update of /cvsroot/pkg-grid/nws/debian
In directory haydn:/tmp/cvs-serv24272/debian

Modified Files:
	changelog init.d 
Log Message:
New version to use nws_setup term instead of nws_setup stop in /etc/init.d/ and thus speed things up

Index: init.d
===================================================================
RCS file: /cvsroot/pkg-grid/nws/debian/init.d,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- init.d	29 Jun 2004 21:59:34 -0000	1.1
+++ init.d	19 Sep 2005 22:46:07 -0000	1.2
@@ -27,9 +27,17 @@
 set -e
 
 case "$1" in
-  start|stop|reload|restart|force-reload)
+  start|reload|force-reload)
     /usr/bin/nws_setup -c /etc/nws.conf $1
 	;;
+  stop)
+    /usr/bin/nws_setup -c /etc/nws.conf term
+	;;
+  restart)
+    /usr/bin/nws_setup -c /etc/nws.conf term
+    sleep 1
+    /usr/bin/nws_setup -c /etc/nws.conf start
+	;;
   *)
 	echo "Usage: /etc/init.d/`basename $0` {start|stop|restart|force-reload}" >&2
 	exit 1

Index: changelog
===================================================================
RCS file: /cvsroot/pkg-grid/nws/debian/changelog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- changelog	10 Aug 2005 08:13:07 -0000	1.11
+++ changelog	19 Sep 2005 22:46:07 -0000	1.12
@@ -1,3 +1,10 @@
+nws (2.13-3) unstable; urgency=low
+
+  * use nws_setup term to stop the nws familly, it is ways too long to
+    stop it properly
+
+ -- Martin Quinson <mquinson at debian.org>  Mon, 19 Sep 2005 23:39:02 +0200
+
 nws (2.13-2) unstable; urgency=low
 
   * Yet another debconf template review by Clytie Siddall.




More information about the Pkg-grid-commits mailing list