]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nginx/recipes/default.rb
Remove cleanup code now it has done it's job
[chef.git] / cookbooks / nginx / recipes / default.rb
index 3a41ca51f9fe904e6cf4da1ddb30386f54aee7f8..085428583ef5e540deb4ce738011181ce2ac19ff 100644 (file)
@@ -66,24 +66,3 @@ prometheus_exporter "nginx" do
   port 9113
   options "--nginx.scrape-uri=http://localhost:8050/nginx_status"
 end
-
-# Remove old nginx cleanup script
-service "nginx-old-cache-cleanup.timer" do
-  action [:stop, :disable]
-end
-
-systemd_timer "nginx-old-cache-cleanup" do
-  action :delete
-end
-
-systemd_service "nginx-old-cache-cleanup" do
-  action :delete
-end
-
-file "/usr/local/bin/nginx-old-cache-cleanup" do
-  action :delete
-end
-
-cron_d "nginx-old-cache-cleanup" do
-  action :delete
-end