Skip to content

Commit d23fbb9

Browse files
committed
recreate configs web rebuilding domains
1 parent f723d15 commit d23fbb9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/v-rebuild-web-domains

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ done
5858
web_conf="/etc/$WEB_SYSTEM/conf.d/vesta.conf"
5959
proxy_conf="/etc/$PROXY_SYSTEM/conf.d/vesta.conf"
6060

61+
# Touch vesta configs
62+
touch $web_conf
63+
if [ ! -z "$PROXY_SYSTEM" ]; then
64+
touch $proxy_conf
65+
fi
66+
6167
# Checking if there is at least 1 domain
6268
if [ "$domain_counter" -lt 1 ]; then
6369
# Deleting web configs

0 commit comments

Comments
 (0)