From: Tom Hughes Date: Wed, 9 Mar 2022 19:23:56 +0000 (+0000) Subject: Stop rails-jobs service when cleaning up old APIs X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/0f8936ab11fc6fbbc973c5b866a5cca0397a13e2?ds=inline Stop rails-jobs service when cleaning up old APIs --- diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index d7d88656a..4b539e9c8 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -438,6 +438,10 @@ if node[:postgresql][:clusters][:"14/main"] action :delete end + service "rails-jobs@#{name}" do + action [:stop, :disable] + end + directory site_directory do action :delete recursive true