ispman/debian ispman-agent.init,1.3,1.4

Joerg Delker <[email protected]> Mon, 11 Jun 2007 20:47:09 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/debian
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv6214/debian

Modified Files:
	ispman-agent.init 
Log Message:
replaced header comment
removed /usr/local paths
fixed stop procedure (--oknodo)

Index: ispman-agent.init
===================================================================
RCS file: /cvsroot/ispman/ispman/debian/ispman-agent.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ispman-agent.init	7 Jun 2007 13:10:08 -0000	1.3
+++ ispman-agent.init	11 Jun 2007 20:47:07 -0000	1.4
@@ -1,16 +1,9 @@
 #! /bin/sh
 #
-# skeleton	example file to build /etc/init.d/ scripts.
-#		This file should be used to construct scripts for /etc/init.d.
-#
-#		Written by Miquel van Smoorenburg <[email protected]>.
-#		Modified for Debian 
-#		by Ian Murdock <imurdock-uOfJb789lUI8qNwGfFDJ/[email protected]>.
-#
-# Version:	@(#)skeleton  1.9  26-Feb-2001  [email protected]
+# Startup Init Script for ispman-agent
 #
 
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/share/ispman/bin/ispman-agent
 NAME=ispman-agent
 DESC=ispman-agent
@@ -39,8 +32,8 @@
 	;;
   stop)
 	echo -n "Stopping $DESC: "
-	start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid 
-    rm -f /var/run/$NAME.pid
+	start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/$NAME.pid 
+	rm -f /var/run/$NAME.pid
 	echo "$NAME."
 	;;
   #reload)
@@ -62,11 +55,11 @@
 	#	just the same as "restart".
 	#
 	echo -n "Restarting $DESC: "
-	start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid 
-    rm -f /var/run/$NAME.pid
+	start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/$NAME.pid 
+	rm -f /var/run/$NAME.pid
 	sleep 1
 	start-stop-daemon -m -b --start --quiet --pidfile /var/run/$NAME.pid \
-        --exec $DAEMON -- $DAEMON_OPTS
+	--exec $DAEMON -- $DAEMON_OPTS
 	echo "$NAME."
 	;;
   *)


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/