Commit ad3a3e52 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #6658 from tsigo/rs-important-dirs

Make sure important directories exist in git
parents 14b68586 34c5e6de
...@@ -204,14 +204,11 @@ You can change `6-6-stable` to `master` if you want the *bleeding edge* version, ...@@ -204,14 +204,11 @@ You can change `6-6-stable` to `master` if you want the *bleeding edge* version,
sudo -u git -H mkdir /home/git/gitlab-satellites sudo -u git -H mkdir /home/git/gitlab-satellites
sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
# Create directories for sockets/pids and make sure GitLab can write to them # Make sure GitLab can write to the tmp/pids/ and tmp/sockets/ directories
sudo -u git -H mkdir tmp/pids/
sudo -u git -H mkdir tmp/sockets/
sudo chmod -R u+rwX tmp/pids/ sudo chmod -R u+rwX tmp/pids/
sudo chmod -R u+rwX tmp/sockets/ sudo chmod -R u+rwX tmp/sockets/
# Create public/uploads directory otherwise backup will fail # Make sure GitLab can write to the public/uploads/ directory
sudo -u git -H mkdir public/uploads
sudo chmod -R u+rwX public/uploads sudo chmod -R u+rwX public/uploads
# Copy the example Unicorn config # Copy the example Unicorn config
......
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