From 2d3531d1dd46ba0370d12f1903aea677ec4b25bc Mon Sep 17 00:00:00 2001 From: gilbn Date: Sat, 4 Jul 2020 18:51:26 +0200 Subject: [PATCH] added logrotate --- root/etc/logrotate.d/geoip2influx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 root/etc/logrotate.d/geoip2influx diff --git a/root/etc/logrotate.d/geoip2influx b/root/etc/logrotate.d/geoip2influx new file mode 100644 index 0000000..9a52475 --- /dev/null +++ b/root/etc/logrotate.d/geoip2influx @@ -0,0 +1,14 @@ +/config/geoip2db/geoip2influx.log { + weekly + rotate 7 + size 25M + compress + delaycompress + nodateext + missingok + notifempty + postrotate + s6-svc -r /var/run/s6/services/geoip2influx + endscript + su abc abc +} \ No newline at end of file