From aabbcaeb21c4ee0af2a869dd611330cc2f9bce01 Mon Sep 17 00:00:00 2001 From: insound Date: Thu, 30 Jun 2016 13:42:11 +0400 Subject: [PATCH] Fix rebulid for web-interface Fixed this bug https://bugs.vestacp.com/issues/273 --- bin/v-rebuild-web-domains | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/v-rebuild-web-domains b/bin/v-rebuild-web-domains index d3277fb9..f3d35dd8 100755 --- a/bin/v-rebuild-web-domains +++ b/bin/v-rebuild-web-domains @@ -50,7 +50,7 @@ if [ ! -z "$WEB_BACKEND" ]; then prepare_web_backend rm -f $pool/$backend_type.conf 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 rm -f $pool/$backend_type.conf done @@ -58,7 +58,7 @@ if [ ! -z "$WEB_BACKEND" ]; then fi # 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 template=$(get_object_value 'web' 'DOMAIN' "$domain" '$BACKEND') $BIN/v-add-web-domain-backend $user $domain $template