summaryrefslogtreecommitdiff
path: root/libraries/libvirt
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libvirt')
-rw-r--r--libraries/libvirt/rc.libvirt10
1 files changed, 7 insertions, 3 deletions
diff --git a/libraries/libvirt/rc.libvirt b/libraries/libvirt/rc.libvirt
index 68f49480e4..844fbcd6c6 100644
--- a/libraries/libvirt/rc.libvirt
+++ b/libraries/libvirt/rc.libvirt
@@ -159,9 +159,13 @@ stop)
stop_virtlockd
;;
restart)
- stop
- sleep 1
- start
+ stop_libvirtd
+ stop_virtlogd
+ stop_virtlockd
+ sleep 2
+ start_virtlockd
+ start_virtlogd
+ start_libvirtd
;;
*)
echo "Usage: $0 (start|stop|restart)"