Mention different config file locations.

This commit is contained in:
Zhang Huangbin 2019-03-11 22:03:07 +08:00
parent a3b0cad312
commit e3ad5d89e8
2 changed files with 26 additions and 6 deletions

View File

@ -13,11 +13,20 @@ In this tutorial, we use service name `gitlab` for GitLab service, and `jabber`
for Jabber.
With iRedAdmin-Pro, please open its config file
`/opt/www/iredadmin/settings.py` (old iRedMail releases may deploy iRedAdmin-Pro
to different path, please check [this tutorial](./file.locations.html#iredadmin)
to figure it out, add a new parameter `ADDITIONAL_ENABLED_USER_SERVICES` like
`/opt/www/iredadmin/settings.py`
, add a new parameter `ADDITIONAL_ENABLED_USER_SERVICES` like
below:
!!! attention
* If you deployed iRedMail with the [iRedMail Easy
platform](https://www.iredmail.org/easy.html), you should add
this setting in config file `/opt/iredmail/custom/iredadmin/settings.py`
instead.
* Old iRedMail releases may deploy iRedAdmin-Pro to different directory,
please check [this tutorial](./file.locations.html#iredadmin) to figure
it out.
```
ADDITIONAL_ENABLED_USER_SERVICES = ['gitlab', 'jabber']
```

View File

@ -27,10 +27,21 @@ servers, and allow different users to use them.
In this tutorial, we use service name <code>gitlab</code> for GitLab service, and <code>jabber</code>
for Jabber.</p>
<p>With iRedAdmin-Pro, please open its config file
<code>/opt/www/iredadmin/settings.py</code> (old iRedMail releases may deploy iRedAdmin-Pro
to different path, please check <a href="./file.locations.html#iredadmin">this tutorial</a>
to figure it out, add a new parameter <code>ADDITIONAL_ENABLED_USER_SERVICES</code> like
<code>/opt/www/iredadmin/settings.py</code>
, add a new parameter <code>ADDITIONAL_ENABLED_USER_SERVICES</code> like
below:</p>
<div class="admonition attention">
<p class="admonition-title">Attention</p>
<ul>
<li>If you deployed iRedMail with the <a href="https://www.iredmail.org/easy.html">iRedMail Easy
platform</a>, you should add
this setting in config file <code>/opt/iredmail/custom/iredadmin/settings.py</code>
instead.</li>
<li>Old iRedMail releases may deploy iRedAdmin-Pro to different directory,
please check <a href="./file.locations.html#iredadmin">this tutorial</a> to figure
it out.</li>
</ul>
</div>
<pre><code>ADDITIONAL_ENABLED_USER_SERVICES = ['gitlab', 'jabber']
</code></pre>