sudo user is gitlab, not gitlab_ci
This commit is contained in:
parent
19a63b0ddf
commit
1ff7833e8c
1 changed files with 2 additions and 2 deletions
|
@ -99,8 +99,8 @@ Don't store it in the same place as your database backups,
|
|||
otherwise your secrets are exposed if one of your backups is compromised.
|
||||
|
||||
```
|
||||
sudo -u gitlab_ci -H cp config/secrets.yml.example config/secrets.yml
|
||||
sudo -u gitlab_ci -H chmod 0600 config/secrets.yml
|
||||
sudo -u gitlab -H cp config/secrets.yml.example config/secrets.yml
|
||||
sudo -u gitlab -H chmod 0600 config/secrets.yml
|
||||
```
|
||||
|
||||
### 7. Install libs, migrations, etc.
|
||||
|
|
Loading…
Reference in a new issue