Update firststeps-rp.md
Dieser Commit ist enthalten in:
Ursprung
5edd7deaaa
Commit
ecc7847655
1 geänderte Dateien mit 9 neuen und 4 gelöschten Zeilen
|
@ -154,8 +154,13 @@ Make sure you change the pathes accordingly:
|
|||
#!/bin/bash
|
||||
cp /etc/letsencrypt/live/my.domain.tld/fullchain.pem /opt/mailcow-dockerized/data/assets/ssl/cert.pem
|
||||
cp /etc/letsencrypt/live/my.domain.tld/privkey.pem /opt/mailcow-dockerized/data/assets/ssl/key.pem
|
||||
postfix_c=$(docker ps -qaf name=postfix-mailcow)
|
||||
dovecot_c=$(docker ps -qaf name=dovecot-mailcow)
|
||||
nginx_c=$(docker ps -qaf name=nginx-mailcow)
|
||||
docker restart ${postfix_c} ${dovecot_c} ${nginx_c}
|
||||
# Either restart...
|
||||
#postfix_c=$(docker ps -qaf name=postfix-mailcow)
|
||||
#dovecot_c=$(docker ps -qaf name=dovecot-mailcow)
|
||||
#nginx_c=$(docker ps -qaf name=nginx-mailcow)
|
||||
#docker restart ${postfix_c} ${dovecot_c} ${nginx_c}
|
||||
# ...or reload:
|
||||
docker exec $(docker ps -qaf name=postfix-mailcow) postfix reload
|
||||
docker exec $(docker ps -qaf name=nginx-mailcow) nginx -s reload
|
||||
docker exec $(docker ps -qaf name=dovecot-mailcow) dovecot reload
|
||||
```
|
||||
|
|
Laden …
In neuem Issue referenzieren