14 lines
547 B
Bash
Executable file
14 lines
547 B
Bash
Executable file
#!/bin/bash
|
|
|
|
systemctl reload nginx
|
|
cp /etc/letsencrypt/live/heavensinferno.net/fullchain.pem /home/mailcow/mailcow-dockerized/data/assets/ssl/cert.pem
|
|
cp /etc/letsencrypt/live/heavensinferno.net/privkey.pem /home/mailcow/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}
|
|
|
|
if [ $(systemctl is-active mumble-server) ];
|
|
then
|
|
systemctl restart mumble-server
|
|
fi
|