Skip to content

Commit

Permalink
Merge pull request seuros#76 from maruware/fix-starting-problem-with-pty
Browse files Browse the repository at this point in the history
Add nohup when executing start_sidekiq command, for a problem with pty.
  • Loading branch information
seuros committed Jun 16, 2015
2 parents e21647c + fba2b26 commit 3f5073e
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 3f5073e

Please sign in to comment.