From d23fbb9ddc70bd1c48acf480e4d741e4fb28fca2 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 25 Jun 2013 16:19:23 +0300 Subject: [PATCH] recreate configs web rebuilding domains --- bin/v-rebuild-web-domains | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/v-rebuild-web-domains b/bin/v-rebuild-web-domains index 5162b799..f088950f 100755 --- a/bin/v-rebuild-web-domains +++ b/bin/v-rebuild-web-domains @@ -58,6 +58,12 @@ done web_conf="/etc/$WEB_SYSTEM/conf.d/vesta.conf" proxy_conf="/etc/$PROXY_SYSTEM/conf.d/vesta.conf" +# Touch vesta configs +touch $web_conf +if [ ! -z "$PROXY_SYSTEM" ]; then + touch $proxy_conf +fi + # Checking if there is at least 1 domain if [ "$domain_counter" -lt 1 ]; then # Deleting web configs