]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/default.rb
logrotation for nominatim
[chef.git] / cookbooks / nominatim / recipes / default.rb
index dfa2df7c118ee3c3ddcb391ccb052472b4c94d40..6f3394403a5271971066a0040938eddec689a49c 100644 (file)
@@ -93,6 +93,14 @@ directory "/var/log/nominatim" do
   mode 0755
 end
 
+template "/etc/logrotate.d/nominatim" do
+  source "logrotate.nominatim.erb"
+  owner "root"
+  group "root"
+  mode 0644
+end
+
+
 package "osmosis"
 package "gcc"
 package "proj-bin"