mirror of https://github.com/Icinga/icinga2.git
Move set_permission statement from common to bin
/var/run/icinga2/cmd was moved from common to bin in Icinga 2.2.0 but the set_permission statement wasn't moved to bin. fixes #7914
This commit is contained in:
parent
01f8706ed6
commit
6c1ec9e8c0
|
@ -268,14 +268,16 @@ exit 0
|
|||
%if "%{_vendor}" == "suse"
|
||||
%verifyscript bin
|
||||
%verify_permissions -e %{_rundir}/%{name}/cmd
|
||||
|
||||
%if 0%{?suse_version} >= 1310
|
||||
%post bin
|
||||
%set_permissions %{_rundir}/%{name}/cmd
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%post common
|
||||
# suse
|
||||
%if "%{_vendor}" == "suse"
|
||||
%if 0%{?suse_version} >= 1310
|
||||
%set_permissions %{_rundir}/%{name}/cmd
|
||||
%endif
|
||||
%if 0%{?use_systemd}
|
||||
%fillup_only %{name}
|
||||
%service_add_post %{name}.service
|
||||
|
|
Loading…
Reference in New Issue