user can now disable thin and use ./script/server to fire up resque and websocket only
This commit is contained in:
parent
0febee6fbb
commit
dd607fb47d
2 changed files with 8 additions and 2 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
script_server:
|
script_server:
|
||||||
|
# Enable thin as application server
|
||||||
|
enable_thin: true
|
||||||
|
|
||||||
# Port on which thin should listen
|
# Port on which thin should listen
|
||||||
thin_port: 3000
|
thin_port: 3000
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -173,4 +173,7 @@ if [ "$(./script/get_config.rb single_process_mode $RAILS_ENV)" = "false" ]; the
|
||||||
|
|
||||||
bundle exec ruby ./script/websocket_server.rb&
|
bundle exec ruby ./script/websocket_server.rb&
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$(./script/get_config.rb enable_thin script_server)" = "true"]; then
|
||||||
bundle exec thin start $args
|
bundle exec thin start $args
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue