We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 936ee3b + a07c7b3 commit d4ddd2cCopy full SHA for d4ddd2c
bin/v-update-sys-ip
@@ -65,10 +65,17 @@ if [ ! -z "$vst_ip_list" ] && [ "$vst_ip_num" -eq '1' ]; then
65
$BIN/v-rebuild-web-domains $user no
66
done
67
fi
68
+ if [ ! -z "$FTP_SYSTEM" ];then
69
+ ftpd_conf_file=$(find /etc/ -maxdepth 2 -name $FTP_SYSTEM.conf)
70
+ sed -i "s/$old/$new/g" $ftpd_conf_file
71
+ fi
72
73
# Restarting web server
74
$BIN/v-restart-web
75
76
+ # Restarting ftp server
77
+ $BIN/v-restart-ftp
78
+
79
# Restarting proxy server
80
if [ ! -z "$PROXY_SYSTEM" ]; then
81
$BIN/v-restart-proxy
0 commit comments