mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
install: use GITLAB_INSTALL_DIR macro in supervisor configs
This commit is contained in:
parent
1bda0df960
commit
d856cf2162
@ -122,7 +122,7 @@ EOF
|
||||
cat > /etc/supervisor/conf.d/unicorn.conf <<EOF
|
||||
[program:unicorn]
|
||||
priority=10
|
||||
directory=/home/git/gitlab
|
||||
directory=${GITLAB_INSTALL_DIR}
|
||||
environment=HOME=/home/git
|
||||
command=bundle exec unicorn_rails -c ${GITLAB_INSTALL_DIR}/config/unicorn.rb -E production
|
||||
user=git
|
||||
@ -137,7 +137,7 @@ EOF
|
||||
cat > /etc/supervisor/conf.d/sidekiq.conf <<EOF
|
||||
[program:sidekiq]
|
||||
priority=10
|
||||
directory=/home/git/gitlab
|
||||
directory=${GITLAB_INSTALL_DIR}
|
||||
environment=HOME=/home/git
|
||||
command=bundle exec sidekiq -c {{SIDEKIQ_CONCURRENCY}}
|
||||
-q post_receive
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user