diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-08-22 09:59:04 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-08-22 09:59:04 +0100 |
commit | 0ba727e468420d60933b7d2b8fa1d332ae0768ac (patch) | |
tree | 05438e278bcbfba6b735868cdff4b8ff09c66b22 /config/deploy.rb | |
parent | cbb4db025481395a0cb4697f2159be345bf70156 (diff) | |
parent | beb05ff613cf07091a5e55a33f6e7a44521c0501 (diff) |
Merge branch 'issues/1647-cap-thin-support' into rails-3-develop
Diffstat (limited to 'config/deploy.rb')
-rw-r--r-- | config/deploy.rb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index afc586ecf..c1954d058 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -33,14 +33,12 @@ namespace :xapian do end namespace :deploy do - desc "Restarting mod_rails with restart.txt" - task :restart, :roles => :app, :except => { :no_release => true } do - run "touch #{current_path}/tmp/restart.txt" - end - [:start, :stop].each do |t| - desc "#{t} task is a no-op with mod_rails" - task t, :roles => :app do ; end + [:start, :stop, :restart].each do |t| + desc "#{t.to_s.capitalize} Alaveteli service defined in /etc/init.d/alaveteli" + task t, :roles => :app, :except => { :no_release => true } do + run "/etc/init.d/alaveteli #{t}" + end end desc 'Link configuration after a code update' |