Skip to content

Commit a0c1510

Browse files
Keonik1missytake
authored andcommitted
fix docs - nginx "restart" to "reload"
#614 (comment)
1 parent bd7f18e commit a0c1510

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/DOCKER_INSTALLATION_EN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ monitor_certificates() {
175175
current_hash=$(calculate_hash)
176176
if [[ "$current_hash" != "$previous_hash" ]]; then
177177
# TODO: add an option to restart at a specific time interval
178-
echo "[INFO] Certificate's folder hash was changed, restarting nginx, dovecot and postfix services."
179-
systemctl restart nginx.service
178+
echo "[INFO] Certificate's folder hash was changed, reloading nginx, dovecot and postfix services."
179+
systemctl reload nginx.service
180180
systemctl reload dovecot.service
181181
systemctl reload postfix.service
182182
previous_hash=$current_hash

docs/DOCKER_INSTALLATION_RU.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ monitor_certificates() {
156156
current_hash=$(calculate_hash)
157157
if [[ "$current_hash" != "$previous_hash" ]]; then
158158
# TODO: add an option to restart at a specific time interval
159-
echo "[INFO] Certificate's folder hash was changed, restarting nginx, dovecot and postfix services."
160-
systemctl restart nginx.service
159+
echo "[INFO] Certificate's folder hash was changed, reloading nginx, dovecot and postfix services."
160+
systemctl reload nginx.service
161161
systemctl reload dovecot.service
162162
systemctl reload postfix.service
163163
previous_hash=$current_hash

0 commit comments

Comments
 (0)