diff options
-rwxr-xr-x | package/libvirt/files/libvirt.init | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libvirt/files/libvirt.init b/package/libvirt/files/libvirt.init index 2644e1a1b..fe83686dc 100755 --- a/package/libvirt/files/libvirt.init +++ b/package/libvirt/files/libvirt.init @@ -10,13 +10,14 @@ autostart) exec sh $0 start ;; start) - /usr/sbin/libvirtd -dv + /usr/sbin/libvirtd -d ;; stop) kill $(pgrep -f /usr/sbin/libvirtd) ;; restart) sh $0 stop + sleep 2 sh $0 start ;; *) |