mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 16:39:55 +02:00
Que log/pid moved to log/que #2724
This commit is contained in:
parent
918e85dc64
commit
c484fbd99d
3 changed files with 6 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
---------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue