Browse Source

Fixed missing restart routine for vsftp on v-add-letsencrypt-host

Raphael Schneeberger 6 years ago
parent
commit
a25b114d9c
2 changed files with 4 additions and 0 deletions
  1. 1 0
      CHANGELOG.md
  2. 3 0
      bin/v-update-host-certificate

+ 1 - 0
CHANGELOG.md

@@ -68,6 +68,7 @@ All notable changes to this project will be documented in this file.
 - Fixed excluding folders named "logs" from restore backup, thanks to @davidgolsen.
 - Fixed typo in delete psql database part, thanks to @joshbmarshall.
 - Split long txt records to 255 chunks to prevent bind issues, thanks to @setiseta.
+- Fixed missing restart routine for vsftp on v-add-letsencrypt-host.
 
 ## [1.0.6] - 2019-09-24 - Hotfix
 ### Bugfixes

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

@@ -81,6 +81,9 @@ if [ ! -z "$MAIL_SYSTEM" ]; then
     # Restart exim (and dovecot if applicable)
     $BIN/v-restart-mail
 fi
+if [ "$FTP_SYSTEM" = "vsftpd" ]; then
+    $BIN/v-restart-ftp
+fi
 $BIN/v-restart-service hestia
 
 #----------------------------------------------------------#