run_jruby_torquebox.sh 309 B

12345678910111213
  1. #!/bin/bash
  2. THREAD_FACTOR=2
  3. . $(dirname $0)/config/common_run.sh
  4. fw_depends $DBTYPE rvm jruby-9.1
  5. rvm use jruby-$JRUBY_VERSION
  6. . $(dirname $0)/config/bundle_install.sh
  7. bundle exec torquebox run --io-threads $(( MAX_CONCURRENCY / 2 )) --worker-threads $MAX_CONCURRENCY -b 0.0.0.0 -p 8080 -e production &