提交 1ff7833e 编写于 作者: R Robert Speicher

sudo user is gitlab, not gitlab_ci

上级 19a63b0d
...@@ -99,8 +99,8 @@ Don't store it in the same place as your database backups, ...@@ -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. 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 -H cp config/secrets.yml.example config/secrets.yml
sudo -u gitlab_ci -H chmod 0600 config/secrets.yml sudo -u gitlab -H chmod 0600 config/secrets.yml
``` ```
### 7. Install libs, migrations, etc. ### 7. Install libs, migrations, etc.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册