Commit d32b51ae43f9bc33d1ef950eea0e5ab0a005cb8d
1 parent
884d8d60
Exists in
master
and in
28 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 | 33 | clear_cache |
| 34 | 34 | ./script/ferret_server -e $RAILS_ENV start |
| 35 | 35 | environments_loop |
| 36 | - mongrel_rails cluster::start | |
| 36 | + ruby -S thin -C config/thin.yml start | |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | do_stop() { |
| 40 | - mongrel_rails cluster::stop | |
| 40 | + ruby -S thin -C config/thin.yml stop | |
| 41 | 41 | ./script/delayed_job stop |
| 42 | 42 | ./script/feed-updater stop |
| 43 | 43 | ./script/ferret_server -e $RAILS_ENV stop | ... | ... |