Skip to content

Commit

Permalink
Add nohup when executing start_sidekiq, for a problem with pty.
Browse files Browse the repository at this point in the history
  • Loading branch information
maruware committed Apr 8, 2015
1 parent e21647c commit fba2b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/sidekiq.cap
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ namespace :sidekiq do
if fetch(:start_sidekiq_in_background, fetch(:sidekiq_run_in_background))
background :bundle, :exec, :sidekiq, args.compact.join(' ')
else
execute :bundle, :exec, :sidekiq, args.compact.join(' ')
execute :nohup, :bundle, :exec, :sidekiq, args.compact.join(' ')
end
end

Expand Down

0 comments on commit fba2b26

Please sign in to comment.