Signed-off-by: Ian Campbell <ian.campb...@citrix.com> --- ts-libvirt-build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ts-libvirt-build b/ts-libvirt-build index 940c034..878d4e2 100755 --- a/ts-libvirt-build +++ b/ts-libvirt-build @@ -140,8 +140,10 @@ case "$1" in [ "$VERBOSE" != no ] && log_end_msg $? ;; restart) - stop - start + [ "$VERBOSE" != no ] && log_daemon_msg "Restarting $DESC" "$DAEMON" + start-stop-daemon --oknodo --stop --pidfile $PIDFILE --exec $DAEMON + start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON -- -d $libvirtd_opts + [ "$VERBOSE" != no ] && log_end_msg $? ;; reload|force-reload) start-stop-daemon --stop --signal 1 --quiet --pidfile \ -- 2.1.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel