Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/recap/tasks/foreman.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module Recap::Tasks::Foreman
set(:foreman_export_location, "/etc/init")

# The standard foreman export.
set(:foreman_export_command) { "./bin/foreman export #{foreman_export_format} #{foreman_tmp_location} --procfile #{procfile} --app #{application} --user #{application_user} --log #{deploy_to}/log" }
set(:foreman_export_command) { "./bin/foreman export #{foreman_export_format} #{foreman_tmp_location} --procfile #{procfile} --app #{application} --user #{application_user} --log #{deploy_to}/log --env #{environment_file}" }

namespace :export do
# After each deployment, the startup scripts are exported if the `Procfile` has changed.
Expand Down Expand Up @@ -71,4 +71,4 @@ module Recap::Tasks::Foreman
after 'deploy:update_code', 'foreman:export:if_changed'
after 'deploy:restart', 'foreman:restart'
end
end
end