Commit d32b51ae43f9bc33d1ef950eea0e5ab0a005cb8d
1 parent
884d8d60
Exists in
master
and in
29 other branches
Use thin instead of mongrel for production
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
gitignore.example
script/production
@@ -33,11 +33,11 @@ do_start() { | @@ -33,11 +33,11 @@ do_start() { | ||
33 | clear_cache | 33 | clear_cache |
34 | ./script/ferret_server -e $RAILS_ENV start | 34 | ./script/ferret_server -e $RAILS_ENV start |
35 | environments_loop | 35 | environments_loop |
36 | - mongrel_rails cluster::start | 36 | + ruby -S thin -C config/thin.yml start |
37 | } | 37 | } |
38 | 38 | ||
39 | do_stop() { | 39 | do_stop() { |
40 | - mongrel_rails cluster::stop | 40 | + ruby -S thin -C config/thin.yml stop |
41 | ./script/delayed_job stop | 41 | ./script/delayed_job stop |
42 | ./script/feed-updater stop | 42 | ./script/feed-updater stop |
43 | ./script/ferret_server -e $RAILS_ENV stop | 43 | ./script/ferret_server -e $RAILS_ENV stop |