commit
bd7c3955b1
4 changed files with 4 additions and 4 deletions
|
@ -181,7 +181,7 @@ You can change `6-9-stable` to `master` if you want the *bleeding edge* version,
|
||||||
|
|
||||||
# Create directory for satellites
|
# Create directory for satellites
|
||||||
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
|
||||||
|
|
||||||
# Make sure GitLab can write to the tmp/pids/ and tmp/sockets/ directories
|
# Make sure GitLab can write to the tmp/pids/ and tmp/sockets/ directories
|
||||||
sudo chmod -R u+rwX tmp/pids/
|
sudo chmod -R u+rwX tmp/pids/
|
||||||
|
|
|
@ -69,7 +69,7 @@ sudo -u git -H gzip /home/git/gitlab/log/*.log.1
|
||||||
sudo -u git -H gzip /home/git/gitlab-shell/gitlab-shell.log.1
|
sudo -u git -H gzip /home/git/gitlab-shell/gitlab-shell.log.1
|
||||||
|
|
||||||
# Close access to gitlab-satellites for others
|
# Close access to gitlab-satellites for others
|
||||||
sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
|
sudo chmod u+rwx,g=rx,o-rwx /home/git/gitlab-satellites
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
|
||||||
sudo chmod +x /etc/init.d/gitlab
|
sudo chmod +x /etc/init.d/gitlab
|
||||||
|
|
||||||
# Close access to gitlab-satellites for others
|
# Close access to gitlab-satellites for others
|
||||||
sudo chmod u+rwx,g+rx,o-rwx /home/git/gitlab-satellites
|
sudo chmod u+rwx,g=rx,o-rwx /home/git/gitlab-satellites
|
||||||
```
|
```
|
||||||
|
|
||||||
### 5. Update config files
|
### 5. Update config files
|
||||||
|
|
|
@ -458,7 +458,7 @@ namespace :gitlab do
|
||||||
else
|
else
|
||||||
puts "no".red
|
puts "no".red
|
||||||
try_fixing_it(
|
try_fixing_it(
|
||||||
"sudo chmod u+rwx,g+rx,o-rwx #{satellites_path}",
|
"sudo chmod u+rwx,g=rx,o-rwx #{satellites_path}",
|
||||||
)
|
)
|
||||||
for_more_information(
|
for_more_information(
|
||||||
see_installation_guide_section "GitLab"
|
see_installation_guide_section "GitLab"
|
||||||
|
|
Loading…
Reference in a new issue