diff --git a/docs/firststeps-rp.md b/docs/firststeps-rp.md index f4db5496b..2c7a39f71 100644 --- a/docs/firststeps-rp.md +++ b/docs/firststeps-rp.md @@ -234,13 +234,8 @@ 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 -# 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 +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} ```