capistrano task
namespace :service do
desc \"start daemontools (svscan/supervise/svscanboot)\"
task :start, :roles => :app do
sudo \"svscanboot&a
I think nohup just launches the process in background, so you don't need to explicitly set the last &.
Did you try
run "nohup svscanboot >/tmp/svscanboot.log 2>&1"
(without the ending & to send it to the background).
That should work and remain running when your current capistrano session is closed.