From: Tom Hughes Date: Fri, 30 Aug 2024 06:08:23 +0000 (+0100) Subject: Fix log rotation on web servers X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/a8e08a1c4cb78c7af95b8d498a4f120b7967388c Fix log rotation on web servers --- diff --git a/cookbooks/web/templates/default/logrotate.web.erb b/cookbooks/web/templates/default/logrotate.web.erb index 608fd4d38..03c3cb08a 100644 --- a/cookbooks/web/templates/default/logrotate.web.erb +++ b/cookbooks/web/templates/default/logrotate.web.erb @@ -7,6 +7,7 @@ compress delaycompress notifempty + su rails rails create 0660 rails rails sharedscripts postrotate