X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/82fd28e30e88c6282572f5c7a176470a414ea529..d4700a11b0cc6c03dace87c68bee802b43068c53:/cookbooks/web/recipes/rails.rb diff --git a/cookbooks/web/recipes/rails.rb b/cookbooks/web/recipes/rails.rb index 50758caea..672da6bad 100644 --- a/cookbooks/web/recipes/rails.rb +++ b/cookbooks/web/recipes/rails.rb @@ -155,7 +155,7 @@ systemd_service "rails-jobs@" do 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