]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: fix owner for nginx access logrotate logs
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 31 Aug 2023 07:57:57 +0000 (09:57 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 31 Aug 2023 07:57:57 +0000 (09:57 +0200)
cookbooks/nominatim/templates/default/logrotate.nginx.erb

index 3dffbd216d1e44e46bc226f0fdf71189ef3e77b9..e0eed7ffd06d6072cc86d196745423259b0084ad 100644 (file)
@@ -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`