X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d4c2f75a87aae00bd5fee0d3772797b6b6b498c2..bed594905942640a53812e404335213395cdec16:/cookbooks/nominatim/templates/default/logrotate.nginx.erb?ds=sidebyside diff --git a/cookbooks/nominatim/templates/default/logrotate.nginx.erb b/cookbooks/nominatim/templates/default/logrotate.nginx.erb index 3dffbd216..1374fcd46 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` @@ -17,11 +17,11 @@ <%= node[:nominatim][:logdir] %>/nominatim.openstreetmap.org-*.log { daily missingok - rotate 28 + rotate 14 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`