^
This commit is contained in:
parent
4c31fa9e1b
commit
64802ff7cf
1 changed files with 4 additions and 0 deletions
|
@ -492,6 +492,10 @@ else
|
|||
s/{api_port}/$API_PORT/" $HD/Deploy_Saleor/resources/saleor/server_block > /etc/nginx/sites-available/saleor
|
||||
wait
|
||||
fi
|
||||
if [ -d "/var/www/$HOST" ]; then
|
||||
sudo rm -R /var/www/$HOST
|
||||
wait
|
||||
fi
|
||||
# Create the host directory in /var/www/
|
||||
sudo mkdir /var/www/$HOST
|
||||
wait
|
||||
|
|
Loading…
Reference in a new issue