summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-26 09:23:25 -0700
committerDouwe Maan <douwe@gitlab.com>2015-08-26 09:23:25 -0700
commitd0420c68fbb2fe84dee8538df246cdc7e7b85d28 (patch)
tree2398cc02e91be23d86273075149ef8028278e651
parent9ae12c398143cb15799eeca301fc761f7e096b2c (diff)
downloadgitlab-ce-d0420c68fbb2fe84dee8538df246cdc7e7b85d28.tar.gz
Simplify doc
-rw-r--r--doc/reply_by_email/README.md18
1 files changed, 3 insertions, 15 deletions
diff --git a/doc/reply_by_email/README.md b/doc/reply_by_email/README.md
index 705cb08dd1a..6c3d191cc71 100644
--- a/doc/reply_by_email/README.md
+++ b/doc/reply_by_email/README.md
@@ -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`:
-
- ```sh
- sudo editor /etc/default/gitlab
- ```
-
- Either change `mail_room_enabled=false` to the below, or add it at the bottom of the file:
+5. Edit the init script configuration at `/etc/default/gitlab` to enable `mail_room`:
```sh
- mail_room_enabled=true
+ sudo mkdir -p /etc/default
+ echo 'mail_room_enabled=true' | sudo tee -a /etc/default/gitlab
```
6. Restart GitLab: