* libvirt.spec.in: Restart libvirtd in %post
---
 libvirt.spec.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 0157eee..8d4c8cc 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -471,6 +471,9 @@ fi
 %endif
 
 /sbin/chkconfig --add libvirtd
+if [ "$1" -ge "1" ]; then
+       /sbin/service libvirtd condrestart > /dev/null 2>&1
+fi
 %endif
 
 %preun
-- 
1.6.2.5

--
Libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to