mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 17:10:08 +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_mode: script
|
||||||
dir: ../../tmp/pids
|
dir: ../../log/que
|
||||||
log_dir: <%= File.expand_path("../../log", __FILE__) %>
|
|
||||||
multiple: true
|
multiple: true
|
||||||
backtrace: true
|
backtrace: true
|
||||||
monitor: true
|
monitor: true
|
||||||
|
|
|
@ -181,8 +181,8 @@ task setup: :environment do
|
||||||
queue! %(mkdir -p "#{deploy_to}/shared/import/legal_documents")
|
queue! %(mkdir -p "#{deploy_to}/shared/import/legal_documents")
|
||||||
queue! %(chmod g+rx,u+rwx "#{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! %(mkdir -p "#{deploy_to}/shared/log/que")
|
||||||
queue! %(chmod g+rx,u+rwx "#{deploy_to}/shared/tmp/pids")
|
queue! %(chmod g+rx,u+rwx "#{deploy_to}/shared/log/que")
|
||||||
|
|
||||||
queue! %(touch "#{deploy_to}/shared/config/database.yml")
|
queue! %(touch "#{deploy_to}/shared/config/database.yml")
|
||||||
deploy do
|
deploy do
|
||||||
|
@ -205,8 +205,8 @@ task deploy: :environment do
|
||||||
invoke :load_commit_hash
|
invoke :load_commit_hash
|
||||||
|
|
||||||
# TEMP until all servers are updated
|
# TEMP until all servers are updated
|
||||||
queue! %(mkdir -p "#{deploy_to}/shared/tmp/pids")
|
queue! %(mkdir -p "#{deploy_to}/shared/log/que")
|
||||||
queue! %(chmod g+rx,u+rwx "#{deploy_to}/shared/tmp/pids")
|
queue! %(chmod g+rx,u+rwx "#{deploy_to}/shared/log/que")
|
||||||
|
|
||||||
invoke :'deploy:link_shared_paths'
|
invoke :'deploy:link_shared_paths'
|
||||||
invoke :'bundle:install'
|
invoke :'bundle:install'
|
||||||
|
|
|
@ -25,7 +25,7 @@ Installation at deployed server:
|
||||||
PID files
|
PID files
|
||||||
---------
|
---------
|
||||||
|
|
||||||
All pid files are at tmp/pids directory.
|
All pid files are at log/que directory.
|
||||||
|
|
||||||
Debugging
|
Debugging
|
||||||
---------
|
---------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue