capistrano task
namespace :service do desc \"start daemontools (svscan/supervise/svscanboot)\" task :start, :roles => :app do sudo \"svscanboot&a
Try forking the process as explained here: Spawn a background process in Ruby
You should be able to do something like this:
job1 = fork do run "svscanboot" end Process.detach(job1)
As well, checkout this: Starting background tasks with Capistrano