]> Frank Brehm's Git Trees - config/ns3/etc.git/commitdiff
daily autocommit
authorFrank Brehm <frank@brehm-online.com>
Mon, 17 May 2021 04:39:47 +0000 (06:39 +0200)
committerFrank Brehm <frank@brehm-online.com>
Mon, 17 May 2021 04:39:47 +0000 (06:39 +0200)
.etckeeper
logrotate.d/ftp-backup [new file with mode: 0644]

index c105500c6744f4b2673d1083f9d20446c179508a..b6f647d11737c93f7c209ab2315f08142ea7f01f 100755 (executable)
@@ -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 (file)
index 0000000..c7c04b4
--- /dev/null
@@ -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