mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
Fix rebulid for web-interface
Fixed this bug https://bugs.vestacp.com/issues/273
This commit is contained in:
parent
535f286d4f
commit
aabbcaeb21
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ if [ ! -z "$WEB_BACKEND" ]; then
|
||||||
prepare_web_backend
|
prepare_web_backend
|
||||||
rm -f $pool/$backend_type.conf
|
rm -f $pool/$backend_type.conf
|
||||||
else
|
else
|
||||||
for domain in $(v-list-web-domains $user plain |cut -f 1); do
|
for domain in $($BIN/v-list-web-domains $user plain |cut -f 1); do
|
||||||
prepare_web_backend
|
prepare_web_backend
|
||||||
rm -f $pool/$backend_type.conf
|
rm -f $pool/$backend_type.conf
|
||||||
done
|
done
|
||||||
|
@ -58,7 +58,7 @@ if [ ! -z "$WEB_BACKEND" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Starting rebuild loop for each web domain
|
# Starting rebuild loop for each web domain
|
||||||
for domain in $(v-list-web-domains $user plain |cut -f 1); do
|
for domain in $($BIN/v-list-web-domains $user plain |cut -f 1); do
|
||||||
if [ ! -z "$WEB_BACKEND" ]; then
|
if [ ! -z "$WEB_BACKEND" ]; then
|
||||||
template=$(get_object_value 'web' 'DOMAIN' "$domain" '$BACKEND')
|
template=$(get_object_value 'web' 'DOMAIN' "$domain" '$BACKEND')
|
||||||
$BIN/v-add-web-domain-backend $user $domain $template
|
$BIN/v-add-web-domain-backend $user $domain $template
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue