From d8b37cde627fd540502b2777a52a519ba708f9c2 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 23 Aug 2010 14:40:45 -0300 Subject: [PATCH] Start application server last, stop it first --- script/production | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/production b/script/production index 789881b..9f93821 100755 --- a/script/production +++ b/script/production @@ -20,13 +20,13 @@ do_start() { clear_cache ./script/ferret_server -e $RAILS_ENV start ./script/feed-updater start - mongrel_rails cluster::start ./script/delayed_job start + mongrel_rails cluster::start } do_stop() { - ./script/delayed_job stop mongrel_rails cluster::stop + ./script/delayed_job stop ./script/feed-updater stop ./script/ferret_server -e $RAILS_ENV stop } -- libgit2 0.21.2