From: Tom Hughes Date: Wed, 30 Nov 2022 08:45:40 +0000 (+0000) Subject: Remove cleanup code now it has done it's job X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/23625cd0d600a296caa1135c26385f69733741c6 Remove cleanup code now it has done it's job --- diff --git a/cookbooks/nginx/recipes/default.rb b/cookbooks/nginx/recipes/default.rb index 3a41ca51f..085428583 100644 --- a/cookbooks/nginx/recipes/default.rb +++ b/cookbooks/nginx/recipes/default.rb @@ -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