Serghey Rodin 13 лет назад
Родитель
Сommit
1b2122a5ac
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      install/vst-install.sh

+ 3 - 2
install/vst-install.sh

@@ -483,7 +483,7 @@ service nginx start
 # Vsftpd configuration
 # Vsftpd configuration
 wget $CHOST/$VERSION/vsftpd.conf -O /etc/vsftpd/vsftpd.conf
 wget $CHOST/$VERSION/vsftpd.conf -O /etc/vsftpd/vsftpd.conf
 chkconfig vsftpd on
 chkconfig vsftpd on
-service vsftpf start
+service vsftpd start
 
 
 # MySQL configuration
 # MySQL configuration
 mpass=$(gen_pass)
 mpass=$(gen_pass)
@@ -573,7 +573,7 @@ wget $CHOST/$VERSION/httpd-webmail.conf -O /etc/httpd/conf.d/roundcubemail.conf
 wget $CHOST/$VERSION/roundcube-main.conf -O /etc/roundcubemail/main.inc.php
 wget $CHOST/$VERSION/roundcube-main.conf -O /etc/roundcubemail/main.inc.php
 wget $CHOST/$VERSION/roundcube-db.conf -O /etc/roundcubemail/db.inc.php
 wget $CHOST/$VERSION/roundcube-db.conf -O /etc/roundcubemail/db.inc.php
 wget $CHOST/$VERSION/roundcube-driver.php -O \
 wget $CHOST/$VERSION/roundcube-driver.php -O \
-    /usr/share/roundcubemail/plugins/password/drivers/vesta.php
+    /usr/share/roundcubemail/plugins/password/vesta.php
 wget $CHOST/$VERSION/roundcube-pw.conf -O \
 wget $CHOST/$VERSION/roundcube-pw.conf -O \
     /usr/share/roundcubemail/plugins/password/config.inc.php
     /usr/share/roundcubemail/plugins/password/config.inc.php
 r="$(gen_pass)"
 r="$(gen_pass)"
@@ -669,6 +669,7 @@ vst_ip=$(wget vestacp.com/what-is-my-ip/ -O - 2>/dev/null)
 if [ ! -z "$vst_ip" ] && [ "$vst_ip" != "$main_ip" ]; then
 if [ ! -z "$vst_ip" ] && [ "$vst_ip" != "$main_ip" ]; then
     # Assign passive ip address
     # Assign passive ip address
     echo "pasv_address=$vst_ip" >> /etc/vsftpd/vsftpd.conf
     echo "pasv_address=$vst_ip" >> /etc/vsftpd/vsftpd.conf
+    service vsftpd restart
 fi
 fi
 if [ -z "$vst_ip" ]; then
 if [ -z "$vst_ip" ]; then
     vst_ip=$main_ip
     vst_ip=$main_ip