diff --git a/ansible/roles/podman/templates/zomboid/logrotate.j2 b/ansible/roles/podman/templates/zomboid/logrotate.j2 index 0908b6c..e62cacf 100644 --- a/ansible/roles/podman/templates/zomboid/logrotate.j2 +++ b/ansible/roles/podman/templates/zomboid/logrotate.j2 @@ -12,8 +12,10 @@ {{ zomboid_path }}/data/server-console.txt {{ zomboid_path }}/data/Logs/*.txt { + # size, not a time directive: logrotate's daily timer is when this is + # *checked*, 100M is when it actually rotates. Specifying both makes + # logrotate warn that size overrides daily. copytruncate - daily size 100M rotate 3 compress