Skip to content

Commit

Permalink
Correct cap resque-pool
Browse files Browse the repository at this point in the history
  • Loading branch information
tallenaz committed Nov 15, 2019
1 parent 99dcd8e commit a7d18c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/capistrano-resque-pool.rake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace :resque do
task :start do
on roles(workers) do
within app_path do
execute "cd preservation_catalog/current ; BUNDLE_GEMFILE='/opt/app/pres/preservation_catalog/current/Gemfile' /usr/local/rvm/gems/ruby-2.5.3/bin/bundle exec resque-pool --daemon --environment #{rails_env}"
execute "cd preservation_catalog/current ; bundle exec resque-pool --daemon --environment #{rails_env}"
execute "cd preservation_catalog/current ; AWS_PROFILE=us_west_2 AWS_BUCKET_NAME=#{fetch(:west_bucket_name)} bundle exec resque-pool -d -E #{rails_env} -c #{west_config_path} -p #{west_pid_path}"
execute "cd preservation_catalog/current ; AWS_PROFILE=us_east_1 AWS_BUCKET_NAME=#{fetch(:east_bucket_name)} bundle exec resque-pool -d -E #{rails_env} -c #{east_config_path} -p #{east_pid_path}"
execute "cd preservation_catalog/current ; AWS_PROFILE=us_south AWS_BUCKET_NAME=#{fetch(:south_bucket_name)} bundle exec resque-pool -d -E #{rails_env} -c #{south_config_path} -p #{south_pid_path}"
Expand Down

0 comments on commit a7d18c3

Please sign in to comment.