Rotate letsencrypt logs
[chef.git] / cookbooks / letsencrypt / recipes / default.rb
index 3590fc94d106b7f2160687c5068d52dffad62f98..c41732cf64bf28db7815c6a16b1cee68703aa325 100644 (file)
@@ -190,3 +190,10 @@ cron_d "letencrypt-check" do
   command "/srv/acme.openstreetmap.org/bin/check-certificates"
   mailto "admins@openstreetmap.org"
 end
+
+template "/etc/logrotate.d/letsencrypt" do
+  source "logrotate.erb"
+  owner "root"
+  group "root"
+  mode "644"
+end