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