Skip to content

Commit 1b2122a

Browse files
committed
vsftpd restart
1 parent 5d32fa1 commit 1b2122a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

install/vst-install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ service nginx start
483483
# Vsftpd configuration
484484
wget $CHOST/$VERSION/vsftpd.conf -O /etc/vsftpd/vsftpd.conf
485485
chkconfig vsftpd on
486-
service vsftpf start
486+
service vsftpd start
487487

488488
# MySQL configuration
489489
mpass=$(gen_pass)
@@ -573,7 +573,7 @@ wget $CHOST/$VERSION/httpd-webmail.conf -O /etc/httpd/conf.d/roundcubemail.conf
573573
wget $CHOST/$VERSION/roundcube-main.conf -O /etc/roundcubemail/main.inc.php
574574
wget $CHOST/$VERSION/roundcube-db.conf -O /etc/roundcubemail/db.inc.php
575575
wget $CHOST/$VERSION/roundcube-driver.php -O \
576-
/usr/share/roundcubemail/plugins/password/drivers/vesta.php
576+
/usr/share/roundcubemail/plugins/password/vesta.php
577577
wget $CHOST/$VERSION/roundcube-pw.conf -O \
578578
/usr/share/roundcubemail/plugins/password/config.inc.php
579579
r="$(gen_pass)"
@@ -669,6 +669,7 @@ vst_ip=$(wget vestacp.com/what-is-my-ip/ -O - 2>/dev/null)
669669
if [ ! -z "$vst_ip" ] && [ "$vst_ip" != "$main_ip" ]; then
670670
# Assign passive ip address
671671
echo "pasv_address=$vst_ip" >> /etc/vsftpd/vsftpd.conf
672+
service vsftpd restart
672673
fi
673674
if [ -z "$vst_ip" ]; then
674675
vst_ip=$main_ip

0 commit comments

Comments
 (0)