When using the parallel helper, is there a way to run the commands as
sudo? For example,
task :start_all do
parallel do |session|
session.when "in?(:app01)", "/etc/init.d/apStart app01"
session.when "in?(:app02)", "/etc/init.d/apStart app02"
end
end
I would like the command executed by session.when to execute as if it
where sudo "/etc/init.d/apStart..."
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---