Have you tried screen On May 11, 2011, at 7:33 PM, sreid <sreid0...@gmail.com> wrote:
> I'm so far unable to run a rake task - resque:work - from capistrano, > so that it keeps running as a background process when the capistrano > ssh session terminates. I've tried various combinations of nohup, > setsid, disown etc., but nothing works. Any ideas ? > > A typical command sequence might be : > > cd $1 > export RAILS_ENV=production > nohup bundle exec rake resque:work QUEUE=$2 >/dev/null 2>&1 & > > This works ok in a putty session, but not via capistrano. > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to capistrano@googlegroups.com > * To unsubscribe from this group, send email to > capistrano+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en