We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d942f85 commit 082095bCopy full SHA for 082095b
bin/v-update-host-certificate
@@ -72,11 +72,13 @@ chown $exim_user:mail $VESTA/ssl/certificate.crt
72
chown $exim_user:mail $VESTA/ssl/certificate.key
73
74
# Restart exim, dovecot & vesta
75
-v-restart-mail
76
-v-restart-service dovecot
77
-v-restart-service vesta
78
-
79
+$BIN/v-restart-mail
+if [ ! -z "$IMAP_SYSTEM" ]; then
+ $BIN/v-restart-service "$IMAP_SYSTEM"
+fi
+if [ -f "/var/run/vesta-nginx.pid" ]; then
80
+ kill -HUP $(cat /var/run/vesta-nginx.pid)
81
82
83
#----------------------------------------------------------#
84
# Vesta #
0 commit comments