SOURCES: ApacheJServ.init - update chkconfig description, remove u...

glen glen at pld-linux.org
Thu Oct 6 19:11:29 CEST 2005


Author: glen                         Date: Thu Oct  6 17:11:28 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- update chkconfig description, remove unsupported reload

---- Files affected:
SOURCES:
   ApacheJServ.init (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/ApacheJServ.init
diff -u SOURCES/ApacheJServ.init:1.3 SOURCES/ApacheJServ.init:1.4
--- SOURCES/ApacheJServ.init:1.3	Thu Sep 22 20:17:12 2005
+++ SOURCES/ApacheJServ.init	Thu Oct  6 19:11:23 2005
@@ -1,10 +1,10 @@
 #!/bin/sh
 #
-# jserv	jserv short service description
+# jserv	standalone ApacheJServ process daemon
 #
 # chkconfig:	345 80 20
 #
-# description:	jserv long service description
+# description:	jserv ApacheJServ standalone process
 #
 # $Id$
 
@@ -60,25 +60,12 @@
 		msg_not_running jserv
 	fi
 	;;
-  restart)
+  restart|reload)
 	$0 stop
 	$0 start
 	exit $?
 	;;
-  reload)
-	if [ -f /var/lock/subsys/jserv ]; then
-		msg_reloading jserv
-		killproc jserv -HUP
-		RETVAL=$?
-	else
-		msg_not_running jserv >&2
-		RETVAL=7
-	fi
-	;;
   force-reload)
-	# if program allows reloading without stopping
-	$0 reload
-
 	# or if it doesn't
 	$0 restart
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/ApacheJServ.init?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list