Simplify doc

This commit is contained in:
Douwe Maan 2015-08-26 09:23:25 -07:00
parent 9ae12c3981
commit d0420c68fb
1 changed files with 3 additions and 15 deletions

View File

@ -76,23 +76,11 @@ In this example, we'll use the Gmail address `gitlab-replies@gmail.com`.
:worker: EmailReceiverWorker
```
4. Copy `lib/support/init.d/gitlab.default.example` to `/etc/default/gitlab`, if that does not already exist:
```sh
[ -f /etc/default/gitlab ] || sudo cp lib/support/init.d/gitlab.default.example /etc/default/gitlab
```
5. Edit `/etc/default/gitlab` to enable `mail_room`:
5. Edit the init script configuration at `/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
sudo mkdir -p /etc/default
echo 'mail_room_enabled=true' | sudo tee -a /etc/default/gitlab
```
6. Restart GitLab: