From: Sarah Hoffmann Date: Thu, 31 Aug 2023 07:57:57 +0000 (+0200) Subject: nominatim: fix owner for nginx access logrotate logs X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/78ff86f3df5c2cf9b145da8a6b5f52ebc2e42efa nominatim: fix owner for nginx access logrotate logs --- diff --git a/cookbooks/nominatim/templates/default/logrotate.nginx.erb b/cookbooks/nominatim/templates/default/logrotate.nginx.erb index 3dffbd216..e0eed7ffd 100644 --- a/cookbooks/nominatim/templates/default/logrotate.nginx.erb +++ b/cookbooks/nominatim/templates/default/logrotate.nginx.erb @@ -7,7 +7,7 @@ compress delaycompress notifempty - create 640 nginx adm + create 640 www-data adm sharedscripts postrotate [ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid` @@ -21,7 +21,7 @@ compress delaycompress notifempty - create 640 root adm + create 640 www-data adm sharedscripts postrotate [ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid`