SOURCES: cherokee.init - reload not implemeted. conform to LSB (th...

glen glen at pld-linux.org
Thu Jan 5 11:46:30 CET 2006


Author: glen                         Date: Thu Jan  5 10:46:30 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- reload not implemeted. conform to LSB (thx qboosh)

---- Files affected:
SOURCES:
   cherokee.init (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/cherokee.init
diff -u SOURCES/cherokee.init:1.4 SOURCES/cherokee.init:1.5
--- SOURCES/cherokee.init:1.4	Sat Dec 31 17:01:22 2005
+++ SOURCES/cherokee.init	Thu Jan  5 11:46:25 2006
@@ -69,21 +69,15 @@
 		msg_not_running "Cherokee Web Server"
 	fi
 	;;
-  restart|reload)
+  restart)
 	$0 stop
 	$0 start
 	exit $?
 	;;
-#  reload)
-#	if [ -f /var/lock/subsys/cherokee ]; then
-#		msg_reloading "Cherokee Web Server"
-#		start-stop-daemon --stop --pidfile /var/run/cherokee.pid --signal HUP && ok || fail
-#		RETVAL=$?
-#	else
-#		msg_not_running "Cherokee Web Server" >&2
-#		RETVAL=7
-#	fi
-#	;;
+  reload)
+  	# not implemented
+  	RETVAL=3
+	;;
   force-reload)
 	$0 reload
 	exit $?
================================================================

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



More information about the pld-cvs-commit mailing list