[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2 of 3] xencommons: Make init script more verbose
Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> diff -r e71645625934 -r 9781a01f6ccb tools/hotplug/Linux/init.d/xencommons --- a/tools/hotplug/Linux/init.d/xencommons Mon Jun 28 13:24:26 2010 +0100 +++ b/tools/hotplug/Linux/init.d/xencommons Mon Jun 28 13:24:26 2010 +0100 @@ -43,10 +43,14 @@ test -z "$XENSTORED_ROOTDIR" || XENSTORED_ROOTDIR="/var/lib/xenstored" rm -f "$XENSTORED_ROOTDIR"/tdb* &>/dev/null test -z "$XENSTORED_TRACE" || XENSTORED_ARGS=" -T /var/log/xen/xenstored-trace.log" + + echo Starting xenstored... xenstored --pid-file=$XENSTORED_PIDFILE $XENSTORED_ARGS + echo Setting domain 0 name... xenstore-write "/local/domain/0/name" "Domain-0" fi + echo Starting xenconsoled... test -z "$XENCONSOLED_TRACE" || XENCONSOLED_ARGS=" -T /var/log/xen/xenstored-trace.log" xenconsoled --pid-file=$XENCONSOLED_PIDFILE $XENCONSOLED_ARGS test -z "$XENBACKENDD_DEBUG" || XENBACKENDD_ARGS="-d" @@ -54,12 +58,14 @@ } do_stop () { if read 2>/dev/null <$XENCONSOLED_PIDFILE pid; then + echo Stopping xenconsoled kill $pid while kill -9 $pid >/dev/null 2>&1; do sleep 0.1; done rm -f $XENCONSOLED_PIDFILE fi if read 2>/dev/null <$XENSTORED_PIDFILE pid; then + echo Stopping xenstored kill $pid while kill -9 $pid >/dev/null 2>&1; do sleep 0.1; done rm -f $XENSTORED_PIDFILE _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |