mirror of https://github.com/Icinga/icinga2.git
parent
dea57e9dcf
commit
74751a4e22
|
@ -1,6 +1,7 @@
|
||||||
@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/icinga2.log @CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/debug.log {
|
@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/icinga2.log @CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/debug.log {
|
||||||
daily
|
daily
|
||||||
rotate 7
|
rotate 7
|
||||||
|
su @ICINGA2_USER@ @ICINGA2_GROUP@
|
||||||
compress
|
compress
|
||||||
delaycompress
|
delaycompress
|
||||||
missingok
|
missingok
|
||||||
|
@ -16,6 +17,7 @@
|
||||||
|
|
||||||
@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/error.log {
|
@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/error.log {
|
||||||
daily
|
daily
|
||||||
|
su @ICINGA2_USER@ @ICINGA2_GROUP@
|
||||||
rotate 90
|
rotate 90
|
||||||
compress
|
compress
|
||||||
delaycompress
|
delaycompress
|
||||||
|
|
|
@ -460,7 +460,7 @@ exit 0
|
||||||
%files common
|
%files common
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING COPYING.Exceptions README NEWS AUTHORS ChangeLog tools/syntax
|
%doc COPYING COPYING.Exceptions README NEWS AUTHORS ChangeLog tools/syntax
|
||||||
%attr(755,-,-) %{_sysconfdir}/logrotate.d/%{name}
|
%config(noreplace) %attr(755,-,-) %{_sysconfdir}/logrotate.d/%{name}
|
||||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}
|
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}
|
||||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}/perfdata
|
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}/perfdata
|
||||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}/tmp
|
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}/tmp
|
||||||
|
|
Loading…
Reference in New Issue