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 {
|
||||
daily
|
||||
rotate 7
|
||||
su @ICINGA2_USER@ @ICINGA2_GROUP@
|
||||
compress
|
||||
delaycompress
|
||||
missingok
|
||||
|
@ -16,6 +17,7 @@
|
|||
|
||||
@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/error.log {
|
||||
daily
|
||||
su @ICINGA2_USER@ @ICINGA2_GROUP@
|
||||
rotate 90
|
||||
compress
|
||||
delaycompress
|
||||
|
|
|
@ -460,7 +460,7 @@ exit 0
|
|||
%files common
|
||||
%defattr(-,root,root,-)
|
||||
%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}/perfdata
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/spool/%{name}/tmp
|
||||
|
|
Loading…
Reference in New Issue