mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Add public IP in ftp config
This commit is contained in:
parent
3bb009f290
commit
a07c7b3af5
1 changed files with 7 additions and 0 deletions
|
@ -65,10 +65,17 @@ if [ ! -z "$vst_ip_list" ] && [ "$vst_ip_num" -eq '1' ]; then
|
||||||
$BIN/v-rebuild-web-domains $user no
|
$BIN/v-rebuild-web-domains $user no
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
if [ ! -z "$FTP_SYSTEM" ];then
|
||||||
|
ftpd_conf_file=$(find /etc/ -maxdepth 2 -name $FTP_SYSTEM.conf)
|
||||||
|
sed -i "s/$old/$new/g" $ftpd_conf_file
|
||||||
|
fi
|
||||||
|
|
||||||
# Restarting web server
|
# Restarting web server
|
||||||
$BIN/v-restart-web
|
$BIN/v-restart-web
|
||||||
|
|
||||||
|
# Restarting ftp server
|
||||||
|
$BIN/v-restart-ftp
|
||||||
|
|
||||||
# Restarting proxy server
|
# Restarting proxy server
|
||||||
if [ ! -z "$PROXY_SYSTEM" ]; then
|
if [ ! -z "$PROXY_SYSTEM" ]; then
|
||||||
$BIN/v-restart-proxy
|
$BIN/v-restart-proxy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue