]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/logrotate.nominatim.erb
nominatim: fix logrotate config syntax
[chef.git] / cookbooks / nominatim / templates / default / logrotate.nominatim.erb
index ba7a5bc3f590a2b99b84efc52f776c2383998ccc..497cb41cf402b26b211aa22626a2f04ed6368e7e 100644 (file)
   compress
   delaycompress
   notifempty
+<% if node[:nominatim][:api_flavour] == "python" %>
+  postrotate
+        systemctl reload nominatim.service
+  endscript
+<% end -%>
   create 640 www-data adm
 }