SOURCES: xen-xend.init - fixed restart

adamg adamg at pld-linux.org
Wed Jul 26 16:15:29 CEST 2006


Author: adamg                        Date: Wed Jul 26 14:15:29 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixed restart

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

---- Diffs:

================================================================
Index: SOURCES/xen-xend.init
diff -u SOURCES/xen-xend.init:1.3 SOURCES/xen-xend.init:1.4
--- SOURCES/xen-xend.init:1.3	Thu Dec  1 16:49:42 2005
+++ SOURCES/xen-xend.init	Wed Jul 26 16:15:24 2006
@@ -54,10 +54,8 @@
 	/usr/sbin/xend status
 	;;
   restart|reload|force-reload)
-  	msg_restarting "xend"
-	daemon /usr/sbin/xend restart
-	RETVAL=$?
-	await_daemons_up
+  	$0 stop
+	$0 start
 	;;
   *)
 	# do not advertise unreasonable commands that there is no reason
================================================================

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



More information about the pld-cvs-commit mailing list