about summary refs log tree commit diff
path: root/bundles/traefik/files/logrotate.conf
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/traefik/files/logrotate.conf')
-rw-r--r--bundles/traefik/files/logrotate.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/bundles/traefik/files/logrotate.conf b/bundles/traefik/files/logrotate.conf
new file mode 100644
index 0000000..5e3a71a
--- /dev/null
+++ b/bundles/traefik/files/logrotate.conf
@@ -0,0 +1,10 @@
+/var/lib/traefik/*.log {
+	weekly
+	rotate 2
+	size 50M
+	missingok
+	notifempty
+	postrotate
+	  podman pod kill --signal="USR1" traefik
+	endscript
+}