Commit d32b51ae43f9bc33d1ef950eea0e5ab0a005cb8d

Authored by Antonio Terceiro
1 parent 884d8d60

Use thin instead of mongrel for production

Showing 2 changed files with 3 additions and 2 deletions   Show diff stats
gitignore.example
... ... @@ -9,6 +9,7 @@ config/noosfero.yml
9 9 config/ferret_server.yml
10 10 config/mongrel_cluster.yml
11 11 config/plugins
  12 +config/thin.yml
12 13 index
13 14 locale
14 15 log
... ...
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
... ...