Fix incorrect path.

This commit is contained in:
Zhang Huangbin 2020-06-06 12:29:50 +08:00
parent 6d2a0ccc4d
commit 519c441208
2 changed files with 2 additions and 2 deletions

View File

@ -231,7 +231,7 @@ linked to file under `/etc/letsencrypt/archive/`, so we need to update the
Replace `<domain>` by the real domain name.
```
1 3 * * * certbot renew --post-hook 'ln -sf /opt/letsencrypt/live/<domain>/privkey.pem /opt/iredmail/ssl/key.pem; service postfix restart; service nginx restart; service dovecot restart'
1 3 * * * certbot renew --post-hook 'ln -sf /etc/letsencrypt/live/<domain>/privkey.pem /opt/iredmail/ssl/key.pem; service postfix restart; service nginx restart; service dovecot restart'
```
#### For servers deployed with the classical downloadable iRedMail installer

View File

@ -254,7 +254,7 @@ linked to file under <code>/etc/letsencrypt/archive/</code>, so we need to updat
<p class="admonition-title">Attention</p>
<p>Replace <code>&lt;domain&gt;</code> by the real domain name.</p>
</div>
<pre><code>1 3 * * * certbot renew --post-hook 'ln -sf /opt/letsencrypt/live/&lt;domain&gt;/privkey.pem /opt/iredmail/ssl/key.pem; service postfix restart; service nginx restart; service dovecot restart'
<pre><code>1 3 * * * certbot renew --post-hook 'ln -sf /etc/letsencrypt/live/&lt;domain&gt;/privkey.pem /opt/iredmail/ssl/key.pem; service postfix restart; service nginx restart; service dovecot restart'
</code></pre>
<h4 id="for-servers-deployed-with-the-classical-downloadable-iredmail-installer">For servers deployed with the classical downloadable iRedMail installer</h4>