mirror of https://github.com/Icinga/icinga2.git
parent
b46dbe4db4
commit
9726687539
|
@ -274,7 +274,7 @@ exit 0
|
||||||
# all restart/feature actions belong to icinga2-bin
|
# all restart/feature actions belong to icinga2-bin
|
||||||
%post bin
|
%post bin
|
||||||
# suse
|
# suse
|
||||||
%if 0%{?suse_version}
|
%if "%{_vendor}" == "suse"
|
||||||
%if 0%{?suse_version} >= 1310
|
%if 0%{?suse_version} >= 1310
|
||||||
%set_permissions /var/run/icinga2/cmd
|
%set_permissions /var/run/icinga2/cmd
|
||||||
%endif
|
%endif
|
||||||
|
@ -312,7 +312,7 @@ exit 0
|
||||||
|
|
||||||
%postun bin
|
%postun bin
|
||||||
# suse
|
# suse
|
||||||
%if 0%{?suse_version}
|
%if "%{_vendor}" == "suse"
|
||||||
%if 0%{?using_systemd}
|
%if 0%{?using_systemd}
|
||||||
%service_del_postun %{name}.service
|
%service_del_postun %{name}.service
|
||||||
%else
|
%else
|
||||||
|
@ -343,7 +343,7 @@ exit 0
|
||||||
|
|
||||||
%preun bin
|
%preun bin
|
||||||
# suse
|
# suse
|
||||||
%if 0%{?suse_version}
|
%if "%{_vendor}" == "suse"
|
||||||
|
|
||||||
%if 0%{?use_systemd}
|
%if 0%{?use_systemd}
|
||||||
%service_del_preun %{name}.service
|
%service_del_preun %{name}.service
|
||||||
|
|
Loading…
Reference in New Issue