capistrano-foreman 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capistrano/foreman.rb +1 -1
- data/lib/capistrano/version.rb +1 -1
- metadata +1 -1
data/lib/capistrano/foreman.rb
CHANGED
@@ -3,7 +3,7 @@ Capistrano::Configuration.instance(:must_exist).load do |configuration|
|
|
3
3
|
namespace :foreman do
|
4
4
|
desc "Export the Procfile to Ubuntu's upstart scripts"
|
5
5
|
task :export, roles: :app do
|
6
|
-
run "cd #{release_path} && sudo bundle exec foreman export upstart /etc/init
|
6
|
+
run "cd #{release_path} && sudo bundle exec foreman export upstart /etc/init -a sites/#{application} -u #{user} -l #{shared_path}/log"
|
7
7
|
end
|
8
8
|
|
9
9
|
desc "Start the application services"
|
data/lib/capistrano/version.rb
CHANGED