From 3779c0a8b0ca9d6bb9c7b5f3808d899f37a598ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Fri, 20 Mar 2020 22:33:20 +0100 Subject: [PATCH] Update firststeps-rp.md --- docs/firststeps-rp.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) 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} ```