Skip to content
Extraits de code Groupes Projets
Valider dd607fb4 rédigé par MrZYX's avatar MrZYX
Parcourir les fichiers

user can now disable thin and use ./script/server to fire up resque and websocket only

parent 0febee6f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
script_server:
# Enable thin as application server
enable_thin: true
# Port on which thin should listen
thin_port: 3000
......@@ -6,4 +9,4 @@ script_server:
default_thin_args: "-p $THIN_PORT -e $RAILS_ENV"
# Possibilities are development, production
rails_env: "development"
\ No newline at end of file
rails_env: "development"
......@@ -173,4 +173,7 @@ if [ "$(./script/get_config.rb single_process_mode $RAILS_ENV)" = "false" ]; the
bundle exec ruby ./script/websocket_server.rb&
fi
bundle exec thin start $args
if [ "$(./script/get_config.rb enable_thin script_server)" = "true"]; then
bundle exec thin start $args
fi
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter