%libvirt_sysconfig_pre libvirtd
%post daemon
-%if ! %{with_modular_daemons}
%libvirt_daemon_systemd_post_inet libvirtd
-%endif
%libvirt_daemon_schedule_restart libvirtd
%posttrans daemon
%libvirt_sysconfig_pre virtproxyd
%post daemon-proxy
-%if %{with_modular_daemons}
%libvirt_daemon_systemd_post_inet virtproxyd
-%endif
%posttrans daemon-proxy
%libvirt_sysconfig_posttrans virtproxyd
%firewalld_reload
%endif
-%if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtnetworkd
-%endif
%libvirt_daemon_schedule_restart virtnetworkd
%posttrans daemon-driver-network
%libvirt_sysconfig_pre virtnwfilterd
%post daemon-driver-nwfilter
-%if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtnwfilterd
-%endif
%libvirt_daemon_schedule_restart virtnwfilterd
%posttrans daemon-driver-nwfilter
%libvirt_sysconfig_pre virtnodedevd
%post daemon-driver-nodedev
-%if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtnodedevd
-%endif
%libvirt_daemon_schedule_restart virtnodedevd
%posttrans daemon-driver-nodedev
%libvirt_sysconfig_pre virtinterfaced
%post daemon-driver-interface
-%if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtinterfaced
-%endif
%libvirt_daemon_schedule_restart virtinterfaced
%posttrans daemon-driver-interface
%libvirt_sysconfig_pre virtsecretd
%post daemon-driver-secret
-%if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtsecretd
-%endif
%libvirt_daemon_schedule_restart virtsecretd
%posttrans daemon-driver-secret
%libvirt_sysconfig_pre virtstoraged
%post daemon-driver-storage-core
-%if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtstoraged
-%endif
%libvirt_daemon_schedule_restart virtstoraged
%posttrans daemon-driver-storage-core
exit 0
%post daemon-driver-qemu
- %if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtqemud
- %endif
%libvirt_daemon_schedule_restart virtqemud
%posttrans daemon-driver-qemu
%libvirt_sysconfig_pre virtlxcd
%post daemon-driver-lxc
- %if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtlxcd
- %endif
%libvirt_daemon_schedule_restart virtlxcd
%posttrans daemon-driver-lxc
%libvirt_sysconfig_pre virtvboxd
%post daemon-driver-vbox
- %if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtvboxd
- %endif
%libvirt_daemon_schedule_restart virtvboxd
%posttrans daemon-driver-vbox
%libvirt_sysconfig_pre virtxend
%post daemon-driver-libxl
- %if %{with_modular_daemons}
%libvirt_daemon_systemd_post virtxend
- %endif
%libvirt_daemon_schedule_restart virtxend
%posttrans daemon-driver-libxl