mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
recreate configs web rebuilding domains
This commit is contained in:
parent
f723d15817
commit
d23fbb9ddc
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue