]> git.openstreetmap.org Git - chef.git/commitdiff
Fix log rotation on web servers
authorTom Hughes <tom@compton.nu>
Fri, 30 Aug 2024 06:08:23 +0000 (07:08 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 30 Aug 2024 06:08:23 +0000 (07:08 +0100)
cookbooks/web/templates/default/logrotate.web.erb

index 608fd4d38699234f2ac76e06f9cff083612f35f4..03c3cb08a72b855f10624c963bb14fc19d5b7d0f 100644 (file)
@@ -7,6 +7,7 @@
   compress
   delaycompress
   notifempty
+  su rails rails
   create 0660 rails rails
   sharedscripts
   postrotate