about summary refs log tree commit diff
path: root/bundles/traefik/files/logrotate.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2025-09-07 17:32:13 +0200
committerRobert Günzler <r@gnzler.io>2025-09-07 17:42:42 +0200
commit38be6c13f76e893cf47636257071b440dec0c5b2 (patch)
treef7ded3235a7e3362cbd1ed3d91523968fe0faf90 /bundles/traefik/files/logrotate.conf
initial commit
Signed-off-by: Robert Günzler <r@gnzler.io>
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
+}