Commit d8b37cde627fd540502b2777a52a519ba708f9c2

Authored by Antonio Terceiro
1 parent 3f32a447

Start application server last, stop it first

(ActionItem1640)
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
script/production
@@ -20,13 +20,13 @@ do_start() { @@ -20,13 +20,13 @@ do_start() {
20 clear_cache 20 clear_cache
21 ./script/ferret_server -e $RAILS_ENV start 21 ./script/ferret_server -e $RAILS_ENV start
22 ./script/feed-updater start 22 ./script/feed-updater start
23 - mongrel_rails cluster::start  
24 ./script/delayed_job start 23 ./script/delayed_job start
  24 + mongrel_rails cluster::start
25 } 25 }
26 26
27 do_stop() { 27 do_stop() {
28 - ./script/delayed_job stop  
29 mongrel_rails cluster::stop 28 mongrel_rails cluster::stop
  29 + ./script/delayed_job stop
30 ./script/feed-updater stop 30 ./script/feed-updater stop
31 ./script/ferret_server -e $RAILS_ENV stop 31 ./script/ferret_server -e $RAILS_ENV stop
32 } 32 }