Skip to content
Extraits de code Groupes Projets
Valider 1bdfd770 rédigé par danielgrippi's avatar danielgrippi
Parcourir les fichiers

check for redis only if not in single process mode

parent 5218bd89
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -122,9 +122,6 @@ if [ -n "$services" ]; then ...@@ -122,9 +122,6 @@ if [ -n "$services" ]; then
exit 64 exit 64
fi fi
redis_config
# Force AGPL # Force AGPL
if [ -w public -a ! -e public/source.tar.gz ]; then if [ -w public -a ! -e public/source.tar.gz ]; then
branch=$( git branch | awk '/^[*]/ {print $2}') branch=$( git branch | awk '/^[*]/ {print $2}')
...@@ -170,7 +167,9 @@ fi ...@@ -170,7 +167,9 @@ fi
mkdir -p -v log/thin/ mkdir -p -v log/thin/
if [ "$(./script/get_config.rb single_process_mode $RAILS_ENV)" = "false" ]; then if [ "$(./script/get_config.rb single_process_mode $RAILS_ENV)" = "false" ]; then
redis_config
redis-server config/redis.conf &>log/redis-console.log & redis-server config/redis.conf &>log/redis-console.log &
QUEUE=* bundle exec rake resque:work& QUEUE=* bundle exec rake resque:work&
bundle exec ruby ./script/websocket_server.rb& bundle exec ruby ./script/websocket_server.rb&
......
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