mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
vsftpd restart
This commit is contained in:
parent
5d32fa16d3
commit
1b2122a5ac
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue