Merge pull request #1543 from robindirksen1/patch-5

Update v-update-host-certificate for restart vsftpd
This commit is contained in:
dpeca 2018-04-12 16:44:06 +02:00 committed by GitHub
commit c3cfd66228
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,6 +76,9 @@ $BIN/v-restart-mail
if [ ! -z "$IMAP_SYSTEM" ]; then if [ ! -z "$IMAP_SYSTEM" ]; then
$BIN/v-restart-service "$IMAP_SYSTEM" $BIN/v-restart-service "$IMAP_SYSTEM"
fi fi
if [ ! -z "$FTP_SYSTEM" ]; then
$BIN/v-restart-service "$FTP_SYSTEM"
fi
if [ -f "/var/run/vesta-nginx.pid" ]; then if [ -f "/var/run/vesta-nginx.pid" ]; then
kill -HUP $(cat /var/run/vesta-nginx.pid) kill -HUP $(cat /var/run/vesta-nginx.pid)
fi fi