From 1b2122a5ac7aba0c7df65fd6ceda1414b3d4c6bd Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Wed, 13 Feb 2013 15:19:17 +0200 Subject: [PATCH] vsftpd restart --- install/vst-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/vst-install.sh b/install/vst-install.sh index 4d053b823..c888bc0a9 100644 --- a/install/vst-install.sh +++ b/install/vst-install.sh @@ -483,7 +483,7 @@ service nginx start # Vsftpd configuration wget $CHOST/$VERSION/vsftpd.conf -O /etc/vsftpd/vsftpd.conf chkconfig vsftpd on -service vsftpf start +service vsftpd start # MySQL configuration 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-db.conf -O /etc/roundcubemail/db.inc.php 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 \ /usr/share/roundcubemail/plugins/password/config.inc.php 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 # Assign passive ip address echo "pasv_address=$vst_ip" >> /etc/vsftpd/vsftpd.conf + service vsftpd restart fi if [ -z "$vst_ip" ]; then vst_ip=$main_ip