webbuild: add logrotate file
This commit is contained in:
parent
99ab1fe252
commit
49a1ed773b
2
Makefile
2
Makefile
@ -47,6 +47,7 @@ install-dirs:
|
|||||||
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/cron.hourly
|
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/cron.hourly
|
||||||
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/cron.daily
|
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/cron.daily
|
||||||
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/sysconfig
|
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/sysconfig
|
||||||
|
@$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/logrotate.d
|
||||||
@$(INSTALL_DIR) $(DESTDIR)$(bindir)
|
@$(INSTALL_DIR) $(DESTDIR)$(bindir)
|
||||||
@$(INSTALL_DIR) $(DESTDIR)$(sbindir)
|
@$(INSTALL_DIR) $(DESTDIR)$(sbindir)
|
||||||
@$(INSTALL_DIR) $(DESTDIR)$(cgidir)
|
@$(INSTALL_DIR) $(DESTDIR)$(cgidir)
|
||||||
@ -108,6 +109,7 @@ install-data:
|
|||||||
@$(INSTALL_SCRIPT) etc/cron.hourly/66-autoport-chroot $(DESTDIR)$(sysconfdir)/cron.hourly/
|
@$(INSTALL_SCRIPT) etc/cron.hourly/66-autoport-chroot $(DESTDIR)$(sysconfdir)/cron.hourly/
|
||||||
@$(INSTALL_SCRIPT) etc/cron.daily/40-autodist-cleanold $(DESTDIR)$(sysconfdir)/cron.daily/
|
@$(INSTALL_SCRIPT) etc/cron.daily/40-autodist-cleanold $(DESTDIR)$(sysconfdir)/cron.daily/
|
||||||
@$(INSTALL_SCRIPT) etc/cron.daily/40-autodist-upstream-updates $(DESTDIR)$(sysconfdir)/cron.daily/
|
@$(INSTALL_SCRIPT) etc/cron.daily/40-autodist-upstream-updates $(DESTDIR)$(sysconfdir)/cron.daily/
|
||||||
|
@$(INSTALL_SCRIPT) etc/logrotate.d/webbuild $(DESTDIR)$(sysconfdir)/logrotate.d/webbuild
|
||||||
@$(INSTALL_DATA) autospec-conf $(DESTDIR)$(pck_statedir)/.autospec
|
@$(INSTALL_DATA) autospec-conf $(DESTDIR)$(pck_statedir)/.autospec
|
||||||
@touch $(DESTDIR)$(pck_statedir)/template/autoupdate/auto.success
|
@touch $(DESTDIR)$(pck_statedir)/template/autoupdate/auto.success
|
||||||
@touch $(DESTDIR)$(pck_statedir)/template/autoupdate/auto.skip
|
@touch $(DESTDIR)$(pck_statedir)/template/autoupdate/auto.skip
|
||||||
|
8
etc/logrotate.d/webbuild
Normal file
8
etc/logrotate.d/webbuild
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/var/webbuild/access_log {
|
||||||
|
monthly
|
||||||
|
rotate 12
|
||||||
|
copytruncate
|
||||||
|
compress
|
||||||
|
notifempty
|
||||||
|
missingok
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user