]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/logrotate.nginx.erb
nominatim: fix owner for nginx access logrotate logs
[chef.git] / 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`