From edcb868f72640981fabc95a97713992e80c49979 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Thu, 13 Oct 2005 20:06:27 +0000 Subject: [PATCH] Use process reaper instead of custom reap script for restarting git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- CHANGELOG | 2 ++ lib/switchtower/recipes/standard.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 5b2a4a08..85cdfd57 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Use process reaper instead of custom reap script for restarting + * Use -S switch to set variables before reading recipe files #2242 * Have setup.rb create a switchtower.cmd file on Win32 platforms #2402 diff --git a/lib/switchtower/recipes/standard.rb b/lib/switchtower/recipes/standard.rb index a62725c5..b5113580 100644 --- a/lib/switchtower/recipes/standard.rb +++ b/lib/switchtower/recipes/standard.rb @@ -93,7 +93,7 @@ end desc "Restart the FCGI processes on the app server." task :restart, :roles => :app do - sudo "#{current_path}/script/reap" + sudo "#{current_path}/script/process reaper" end set :migrate_target, :current