mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Update v-update-host-certificate
Restart mailserver & ftpserver based on `conf/vesta.conf` settings, so the new certificate will be applied.
This commit is contained in:
parent
b7c19a8e63
commit
12306ce834
1 changed files with 6 additions and 0 deletions
|
@ -76,6 +76,12 @@ $BIN/v-restart-mail
|
|||
if [ ! -z "$IMAP_SYSTEM" ]; then
|
||||
$BIN/v-restart-service "$IMAP_SYSTEM"
|
||||
fi
|
||||
if [ ! -z "$MAIL_SYSTEM" ]; then
|
||||
$BIN/v-restart-service "$MAIL_SYSTEM"
|
||||
fi
|
||||
if [ ! -z "$FTP_SYSTEM" ]; then
|
||||
$BIN/v-restart-service "$FTP_SYSTEM"
|
||||
fi
|
||||
if [ -f "/var/run/vesta-nginx.pid" ]; then
|
||||
kill -HUP $(cat /var/run/vesta-nginx.pid)
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue