From 23625cd0d600a296caa1135c26385f69733741c6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 30 Nov 2022 08:45:40 +0000 Subject: [PATCH] Remove cleanup code now it has done it's job --- cookbooks/nginx/recipes/default.rb | 21 --------------------- 1 file changed, 21 deletions(-) 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 -- 2.39.5