]> git.openstreetmap.org Git - chef.git/commitdiff
Remove cleanup code now it has done it's job
authorTom Hughes <tom@compton.nu>
Wed, 30 Nov 2022 08:45:40 +0000 (08:45 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 30 Nov 2022 08:45:40 +0000 (08:45 +0000)
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