projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
744395e
)
Run job processors for the storage queue
author
Tom Hughes
<tom@compton.nu>
Mon, 15 Jul 2019 21:22:28 +0000
(22:22 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 15 Jul 2019 21:22:28 +0000
(22:22 +0100)
cookbooks/web/recipes/backend.rb
patch
|
blob
|
history
diff --git
a/cookbooks/web/recipes/backend.rb
b/cookbooks/web/recipes/backend.rb
index e1995500cd2859d42bab41be5ee4b2c8e9785420..0918a9123d4f656adbd69b645bb37ce65749741e 100644
(file)
--- a/
cookbooks/web/recipes/backend.rb
+++ b/
cookbooks/web/recipes/backend.rb
@@
-42,6
+42,13
@@
end
node.normal[:memcached][:ip_address] = node.internal_ipaddress
+service "rails-jobs@storage" do
+ action [:enable, :start]
+ supports :restart => true
+ subscribes :restart, "rails_port[www.openstreetmap.org]"
+ subscribes :restart, "systemd_service[rails-jobs]"
+end
+
if node[:web][:primary_cluster]
service "rails-jobs@traces" do
action [:enable, :start]