Commit d8b37cde627fd540502b2777a52a519ba708f9c2
1 parent
3f32a447
Exists in
master
and in
29 other branches
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 | 20 | clear_cache |
| 21 | 21 | ./script/ferret_server -e $RAILS_ENV start |
| 22 | 22 | ./script/feed-updater start |
| 23 | - mongrel_rails cluster::start | |
| 24 | 23 | ./script/delayed_job start |
| 24 | + mongrel_rails cluster::start | |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | do_stop() { |
| 28 | - ./script/delayed_job stop | |
| 29 | 28 | mongrel_rails cluster::stop |
| 29 | + ./script/delayed_job stop | |
| 30 | 30 | ./script/feed-updater stop |
| 31 | 31 | ./script/ferret_server -e $RAILS_ENV stop |
| 32 | 32 | } | ... | ... |