From d1b4492bb2f912b69a812461bb0ac82a92935aee Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 17 May 2021 06:39:47 +0200 Subject: [PATCH] daily autocommit --- .etckeeper | 1 + logrotate.d/ftp-backup | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 logrotate.d/ftp-backup diff --git a/.etckeeper b/.etckeeper index c105500..b6f647d 100755 --- a/.etckeeper +++ b/.etckeeper @@ -1280,6 +1280,7 @@ maybe chmod 0644 'logrotate.d/certbot' maybe chmod 0644 'logrotate.d/chrony' maybe chmod 0644 'logrotate.d/dpkg' maybe chmod 0644 'logrotate.d/fail2ban' +maybe chmod 0644 'logrotate.d/ftp-backup' maybe chmod 0644 'logrotate.d/icinga2' maybe chmod 0644 'logrotate.d/rsyslog' maybe chmod 0644 'logrotate.d/salt-common' diff --git a/logrotate.d/ftp-backup b/logrotate.d/ftp-backup new file mode 100644 index 0000000..c7c04b4 --- /dev/null +++ b/logrotate.d/ftp-backup @@ -0,0 +1,12 @@ +/var/log/ftp-backup/backup.log { + daily + dateext + minsize 4M + rotate 20 + notifempty + missingok + compress + delaycompress +} + +# vim: ts=4 filetype=conf -- 2.39.5