forked from pool/libvirt
- spec: Add libvirtd.socket unit file to service_add_pre and
service_del_postun macros OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=464
This commit is contained in:
parent
0813eec6fe
commit
55164a402d
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 2 09:27:22 MDT 2015 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- spec: Add libvirtd.socket unit file to service_add_pre and
|
||||||
|
service_del_postun macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 1 09:31:11 MDT 2015 - jfehlig@suse.com
|
Mon Jun 1 09:31:11 MDT 2015 - jfehlig@suse.com
|
||||||
|
|
||||||
|
@ -1387,7 +1387,7 @@ fi
|
|||||||
|
|
||||||
%pre daemon
|
%pre daemon
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
%service_add_pre libvirtd.service
|
%service_add_pre libvirtd.service libvirtd.socket
|
||||||
%service_add_pre virtlockd.service virtlockd.socket
|
%service_add_pre virtlockd.service virtlockd.socket
|
||||||
%endif
|
%endif
|
||||||
%{_bindir}/getent group libvirt >/dev/null || \
|
%{_bindir}/getent group libvirt >/dev/null || \
|
||||||
@ -1414,7 +1414,7 @@ fi
|
|||||||
%postun daemon
|
%postun daemon
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
%service_del_postun libvirtd.service
|
%service_del_postun libvirtd.service libvirtd.socket
|
||||||
%service_del_postun virtlockd.service virtlockd.socket
|
%service_del_postun virtlockd.service virtlockd.socket
|
||||||
%else
|
%else
|
||||||
%restart_on_update libvirtd
|
%restart_on_update libvirtd
|
||||||
|
Loading…
Reference in New Issue
Block a user