Skip to content

Commit 2135317

Browse files
Keonik1missytake
authored andcommitted
change "restart nginx" to "reload nginx"
#614 (comment)
1 parent 3fdaa05 commit 2135317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/files/setup_chatmail_docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ monitor_certificates() {
3636
current_hash=$(calculate_hash)
3737
if [[ "$current_hash" != "$previous_hash" ]]; then
3838
# TODO: add an option to restart at a specific time interval
39-
echo "[INFO] Certificate's folder hash was changed, restarting nginx, dovecot and postfix services."
40-
systemctl restart nginx.service
39+
echo "[INFO] Certificate's folder hash was changed, reloading nginx, dovecot and postfix services."
40+
systemctl reload nginx.service
4141
systemctl reload dovecot.service
4242
systemctl reload postfix.service
4343
previous_hash=$current_hash

0 commit comments

Comments
 (0)