aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-23 07:57:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-23 07:57:10 +0700
commitb79446e20ba76a62e760449cfaffb50fa0f978a9 (patch)
tree980e7a4fa51523a843775a74e0c36f6d8f44d9da
parent2ee874c56fd647f1c43e3b1794a447a67ec272ee (diff)
system/virt-manager: Fix rc.libvirt.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 68f49480e448..844fbcd6c641 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)"