mirror of https://github.com/Icinga/icinga2.git
parent
8485e0b94b
commit
495bc5b733
|
@ -30,4 +30,4 @@ fi
|
|||
|
||||
mkdir -p $ICINGA2_RUN_DIR/icinga2/cmd
|
||||
chown $ICINGA2_USER:$ICINGA2_COMMAND_GROUP $ICINGA2_RUN_DIR/icinga2/cmd
|
||||
chmod 2755 $ICINGA2_RUN_DIR/icinga2/cmd
|
||||
chmod 2750 $ICINGA2_RUN_DIR/icinga2/cmd
|
||||
|
|
12
icinga2.spec
12
icinga2.spec
|
@ -489,19 +489,19 @@ exit 0
|
|||
%{_mandir}/man8/%{name}-sign-key.8.gz
|
||||
%{_mandir}/man8/%{name}-prepare-dirs.8.gz
|
||||
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %{_localstatedir}/cache/%{name}
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}/compat
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}/compat/archives
|
||||
%attr(0750,%{icinga_user},%{icingacmd_group}) %{_localstatedir}/cache/%{name}
|
||||
%attr(0750,%{icinga_user},%{icingacmd_group}) %dir %{_localstatedir}/log/%{name}
|
||||
%attr(0750,%{icinga_user},%{icingacmd_group}) %dir %{_localstatedir}/log/%{name}/compat
|
||||
%attr(0750,%{icinga_user},%{icingacmd_group}) %dir %{_localstatedir}/log/%{name}/compat/archives
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %{_localstatedir}/lib/%{name}
|
||||
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %ghost %{_rundir}/%{name}
|
||||
%attr(0750,%{icinga_user},%{icingacmd_group}) %ghost %{_rundir}/%{name}
|
||||
%attr(2750,%{icinga_user},%{icingacmd_group}) %ghost %{_rundir}/%{name}/cmd
|
||||
|
||||
%files common
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING COPYING.Exceptions README.md NEWS AUTHORS ChangeLog tools/syntax
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}
|
||||
%attr(0750,%{icinga_user},%{icingacmd_group}) %dir %{_localstatedir}/log/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}/perfdata
|
||||
|
|
Loading…
Reference in New Issue