Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/administration/raketasks/smtp.md')
-rw-r--r--doc/administration/raketasks/smtp.md48
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/administration/raketasks/smtp.md b/doc/administration/raketasks/smtp.md
index 5e9e3544902..3cb161345cb 100644
--- a/doc/administration/raketasks/smtp.md
+++ b/doc/administration/raketasks/smtp.md
@@ -18,17 +18,17 @@ GitLab can use SMTP configuration secrets to read from an encrypted file. The fo
Show the contents of the current SMTP secrets.
-**Omnibus Installation**
+- Linux package installations:
-```shell
-sudo gitlab-rake gitlab:smtp:secret:show
-```
+ ```shell
+ sudo gitlab-rake gitlab:smtp:secret:show
+ ```
-**Source Installation**
+- Self-compiled installations:
-```shell
-bundle exec rake gitlab:smtp:secret:show RAILS_ENV=production
-```
+ ```shell
+ bundle exec rake gitlab:smtp:secret:show RAILS_ENV=production
+ ```
**Example output:**
@@ -41,33 +41,33 @@ user_name: 'gitlab-inst'
Opens the secret contents in your editor, and writes the resulting content to the encrypted secret file when you exit.
-**Omnibus Installation**
+- Linux package installations:
-```shell
-sudo gitlab-rake gitlab:smtp:secret:edit EDITOR=vim
-```
+ ```shell
+ sudo gitlab-rake gitlab:smtp:secret:edit EDITOR=vim
+ ```
-**Source Installation**
+- Self-compiled installations:
-```shell
-bundle exec rake gitlab:smtp:secret:edit RAILS_ENV=production EDITOR=vim
-```
+ ```shell
+ bundle exec rake gitlab:smtp:secret:edit RAILS_ENV=production EDITOR=vim
+ ```
### Write raw secret
Write new secret content by providing it on `STDIN`.
-**Omnibus Installation**
+- Linux package installations:
-```shell
-echo -e "password: '123'" | sudo gitlab-rake gitlab:smtp:secret:write
-```
+ ```shell
+ echo -e "password: '123'" | sudo gitlab-rake gitlab:smtp:secret:write
+ ```
-**Source Installation**
+- Self-compiled installations:
-```shell
-echo -e "password: '123'" | bundle exec rake gitlab:smtp:secret:write RAILS_ENV=production
-```
+ ```shell
+ echo -e "password: '123'" | bundle exec rake gitlab:smtp:secret:write RAILS_ENV=production
+ ```
### Secrets examples