-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add missing deployment tasks (create db and load reference data); rem…
…ove extra namespace in logrotate tasks; add hooks to niet tasks
- Loading branch information
Shevaun Coker
committed
May 29, 2012
1 parent
29f17af
commit 2c6068e
Showing
3 changed files
with
35 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
# To load this capistrano configuration, require 'easy/deployment/logrotate' from deploy.rb | ||
Capistrano::Configuration.instance(:must_exist).load do | ||
namespace :easy do | ||
namespace :logrotate do | ||
desc "Copies the application logrotate file into /etc/logrotate.d" | ||
task :setup, :except => { :no_release => true } do | ||
run "cp #{current_path}/config/deploy/#{stage}/logrotate.conf /etc/logrotate.d/#{application}.conf" | ||
end | ||
namespace :logrotate do | ||
desc "Copies the application logrotate file into /etc/logrotate.d" | ||
task :setup, :except => { :no_release => true } do | ||
run "cp #{current_path}/config/deploy/#{stage}/logrotate.conf /etc/logrotate.d/#{application}.conf" | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters