summaryrefslogtreecommitdiff
path: root/doc/administration/incoming_email.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/administration/incoming_email.md')
-rw-r--r--doc/administration/incoming_email.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/administration/incoming_email.md b/doc/administration/incoming_email.md
index 1550787d532..07b6f79a0fa 100644
--- a/doc/administration/incoming_email.md
+++ b/doc/administration/incoming_email.md
@@ -102,14 +102,14 @@ for a real-world example of this exploit.
1. Reconfigure GitLab for the changes to take effect:
- ```sh
+ ```shell
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
```
1. Verify that everything is configured correctly:
- ```sh
+ ```shell
sudo gitlab-rake gitlab:incoming_email:check
```
@@ -119,7 +119,7 @@ Reply by email should now be working.
1. Go to the GitLab installation directory:
- ```sh
+ ```shell
cd /home/git/gitlab
```
@@ -128,20 +128,20 @@ Reply by email should now be working.
1. Enable `mail_room` in the init script at `/etc/default/gitlab`:
- ```sh
+ ```shell
sudo mkdir -p /etc/default
echo 'mail_room_enabled=true' | sudo tee -a /etc/default/gitlab
```
1. Restart GitLab:
- ```sh
+ ```shell
sudo service gitlab restart
```
1. Verify that everything is configured correctly:
- ```sh
+ ```shell
sudo -u git -H bundle exec rake gitlab:incoming_email:check RAILS_ENV=production
```