Skip to content

Commit 12306ce

Browse files
Update v-update-host-certificate
Restart mailserver & ftpserver based on `conf/vesta.conf` settings, so the new certificate will be applied.
1 parent b7c19a8 commit 12306ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/v-update-host-certificate

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ $BIN/v-restart-mail
7676
if [ ! -z "$IMAP_SYSTEM" ]; then
7777
$BIN/v-restart-service "$IMAP_SYSTEM"
7878
fi
79+
if [ ! -z "$MAIL_SYSTEM" ]; then
80+
$BIN/v-restart-service "$MAIL_SYSTEM"
81+
fi
82+
if [ ! -z "$FTP_SYSTEM" ]; then
83+
$BIN/v-restart-service "$FTP_SYSTEM"
84+
fi
7985
if [ -f "/var/run/vesta-nginx.pid" ]; then
8086
kill -HUP $(cat /var/run/vesta-nginx.pid)
8187
fi

0 commit comments

Comments
 (0)