Commit 8fb5b095 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Relocate pids of scripts in bin folder to /run/gitlab

parent 4e211a33
......@@ -57,6 +57,7 @@ all: database-config resque-yml nginx-conf
cd /srv/gitlab && sudo -u git -H mv config/puma.rb.example config/puma.rb
cd /srv/gitlab && sed -e "s|/home/git|/srv|" -i config/puma.rb
cd /srv/gitlab && sed -e "s|/srv/gitlab/tmp/pids|/run/gitlab|" -i config/puma.rb
cd /srv/gitlab && sed -e "s/\$$app_root\/tmp\/pids/\/run\/gitlab/" -i bin/*
@echo "$$DATABASE_CONFIG" > /srv/gitlab/config/database.yml
cd /srv/gitlab && chown -R git.git config/database.yml
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment