lib/capistrano/foreman.rb in capistrano-foreman-0.0.1 vs lib/capistrano/foreman.rb in capistrano-foreman-0.0.2

- old
+ new

@@ -1,10 +1,10 @@ Capistrano::Configuration.instance(:must_exist).load do |configuration| namespace :foreman do desc "Export the Procfile to Ubuntu's upstart scripts" task :export, roles: :app do - run "cd #{release_path} && sudo bundle exec foreman export upstart /etc/init/sites -a #{application} -u #{user} -l #{shared_path}/log" + run "cd #{release_path} && sudo bundle exec foreman export upstart /etc/init -a sites/#{application} -u #{user} -l #{shared_path}/log" end desc "Start the application services" task :start, roles: :app do sudo "service sites/#{application} start"