From d0420c68fbb2fe84dee8538df246cdc7e7b85d28 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Wed, 26 Aug 2015 09:23:25 -0700 Subject: Simplify doc --- doc/reply_by_email/README.md | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'doc/reply_by_email/README.md') 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: -- cgit v1.2.1