]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/recipes/rails.rb
Increase scrape interval for fastly healthchecks
[chef.git] / cookbooks / web / recipes / rails.rb
index 50758caeac2cff7ecb88bc720cbcab8d899a96dc..672da6bada454ffca3331ade5642c1a6b6e4f16b 100644 (file)
@@ -155,7 +155,7 @@ systemd_service "rails-jobs@" do
   environment "RAILS_ENV" => "production", "QUEUE" => "%I"
   user "rails"
   working_directory rails_directory
   environment "RAILS_ENV" => "production", "QUEUE" => "%I"
   user "rails"
   working_directory rails_directory
-  exec_start "#{node[:ruby][:bundle]} exec rake jobs:work"
+  exec_start "#{node[:ruby][:bundle]} exec rails jobs:work"
   restart "on-failure"
   private_tmp true
   private_devices true
   restart "on-failure"
   private_tmp true
   private_devices true