Simplify doc
This commit is contained in:
parent
9ae12c3981
commit
d0420c68fb
1 changed files with 3 additions and 15 deletions
|
@ -76,23 +76,11 @@ In this example, we'll use the Gmail address `gitlab-replies@gmail.com`.
|
||||||
:worker: EmailReceiverWorker
|
:worker: EmailReceiverWorker
|
||||||
```
|
```
|
||||||
|
|
||||||
|
5. Edit the init script configuration at `/etc/default/gitlab` to enable `mail_room`:
|
||||||
4. Copy `lib/support/init.d/gitlab.default.example` to `/etc/default/gitlab`, if that does not already exist:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
[ -f /etc/default/gitlab ] || sudo cp lib/support/init.d/gitlab.default.example /etc/default/gitlab
|
sudo mkdir -p /etc/default
|
||||||
```
|
echo 'mail_room_enabled=true' | sudo tee -a /etc/default/gitlab
|
||||||
|
|
||||||
5. Edit `/etc/default/gitlab` to enable `mail_room`:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo editor /etc/default/gitlab
|
|
||||||
```
|
|
||||||
|
|
||||||
Either change `mail_room_enabled=false` to the below, or add it at the bottom of the file:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
mail_room_enabled=true
|
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Restart GitLab:
|
6. Restart GitLab:
|
||||||
|
|
Loading…
Reference in a new issue