X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/20470a64f04ff1fc122fc5b214c9fc44b364bcee..aba1410ce84a9f89371e3541768bbadcae65505f:/cookbooks/nominatim/templates/default/logrotate.nominatim.erb?ds=sidebyside diff --git a/cookbooks/nominatim/templates/default/logrotate.nominatim.erb b/cookbooks/nominatim/templates/default/logrotate.nominatim.erb index 6a8412ba3..a14042e47 100644 --- a/cookbooks/nominatim/templates/default/logrotate.nominatim.erb +++ b/cookbooks/nominatim/templates/default/logrotate.nominatim.erb @@ -7,5 +7,15 @@ compress delaycompress notifempty - create 640 root adm + create 640 nominatim adm +} + +/var/log/nominatim/query.log { + weekly + missingok + rotate 52 + compress + delaycompress + notifempty + create 640 www-data adm }