Que log/pid moved to log/que #2724

This commit is contained in:
Priit Tark 2015-07-16 19:23:49 +03:00
parent 918e85dc64
commit c484fbd99d
3 changed files with 6 additions and 7 deletions

View file

@ -1,6 +1,5 @@
dir_mode: script
dir: ../../tmp/pids
log_dir: <%= File.expand_path("../../log", __FILE__) %>
dir: ../../log/que
multiple: true
backtrace: true
monitor: true

View file

@ -181,8 +181,8 @@ task setup: :environment do
queue! %(mkdir -p "#{deploy_to}/shared/import/legal_documents")
queue! %(chmod g+rx,u+rwx "#{deploy_to}/shared/import/legal_documents")
queue! %(mkdir -p "#{deploy_to}/shared/tmp/pids")
queue! %(chmod g+rx,u+rwx "#{deploy_to}/shared/tmp/pids")
queue! %(mkdir -p "#{deploy_to}/shared/log/que")
queue! %(chmod g+rx,u+rwx "#{deploy_to}/shared/log/que")
queue! %(touch "#{deploy_to}/shared/config/database.yml")
deploy do
@ -205,8 +205,8 @@ task deploy: :environment do
invoke :load_commit_hash
# TEMP until all servers are updated
queue! %(mkdir -p "#{deploy_to}/shared/tmp/pids")
queue! %(chmod g+rx,u+rwx "#{deploy_to}/shared/tmp/pids")
queue! %(mkdir -p "#{deploy_to}/shared/log/que")
queue! %(chmod g+rx,u+rwx "#{deploy_to}/shared/log/que")
invoke :'deploy:link_shared_paths'
invoke :'bundle:install'

View file

@ -25,7 +25,7 @@ Installation at deployed server:
PID files
---------
All pid files are at tmp/pids directory.
All pid files are at log/que directory.
Debugging
---------