diff --git a/docker/services/logrotate-crond.yaml b/docker/services/logrotate-crond.yaml index fd338097c7..c404080ec0 100644 --- a/docker/services/logrotate-crond.yaml +++ b/docker/services/logrotate-crond.yaml @@ -92,7 +92,7 @@ outputs: -X "/var/log/containers/*/*log" \ -X "/var/log/containers/*/*/*log" \ -X "/var/log/containers/*/*err" \ - {{ LogrotatePurgeAfterDays|int +1 }} \ + {{ LogrotatePurgeAfterDays|int +1 }}d \ /var/log/containers/ 2>&1 | logger -t container-tmpwatch vars: LogrotatePurgeAfterDays: {get_param: LogrotatePurgeAfterDays}