Explorar el Código

Merge pull request #1543 from robindirksen1/patch-5

Update v-update-host-certificate for restart vsftpd
dpeca hace 8 años
padre
commit
c3cfd66228
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      bin/v-update-host-certificate

+ 3 - 0
bin/v-update-host-certificate

@@ -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