From 9f6d43fd3af8ec7c963b29a64710a0554d90a7e6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 26 Mar 2026 08:18:18 +0000 Subject: [PATCH] Add a job runner for the notifiers queue --- cookbooks/web/recipes/frontend.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cookbooks/web/recipes/frontend.rb b/cookbooks/web/recipes/frontend.rb index 86769cbb4..d48bebfc6 100644 --- a/cookbooks/web/recipes/frontend.rb +++ b/cookbooks/web/recipes/frontend.rb @@ -122,6 +122,10 @@ if %w[database_offline database_readonly].include?(node[:web][:status]) action :stop end + service "rails-jobs@notifiers" do + action :stop + end + service "rails-jobs@storage" do action :stop end @@ -137,6 +141,13 @@ else subscribes :restart, "systemd_service[rails-jobs@]" end + service "rails-jobs@notifiers" do + action [:enable, :start] + supports :restart => true + subscribes :restart, "rails_port[www.openstreetmap.org]" + subscribes :restart, "systemd_service[rails-jobs@]" + end + service "rails-jobs@storage" do action [:enable, :start] supports :restart => true -- 2.47.3