sed change

This commit is contained in:
Vague Rabbit 2021-01-24 01:17:31 -08:00
parent 4d50b74813
commit 0fcd98d603

View file

@ -228,11 +228,11 @@ git clone https://github.com/thewhiterabbit/saleor.git
wait wait
cd saleor cd saleor
sudo sed -i "s|{hd}|$HD| sudo sed "s|{hd}|$HD|
s/{hostip}/$API_HOST/" $HD/saleor/resources/saleor.service > /etc/systemd/system/saleor.service s/{hostip}/$API_HOST/" $HD/saleor/resources/saleor.service > /etc/systemd/system/saleor.service
wait wait
sudo sed -i "s|{hd}|$HD| sudo sed "s|{hd}|$HD|
s/{api_host}/$API_HOST/ s/{api_host}/$API_HOST/
s/{host}/$HOST/g s/{host}/$HOST/g
s/{apiport}/$API_PORT/" $HD/saleor/resources/server_block > /etc/nginx/sites-available/saleor s/{apiport}/$API_PORT/" $HD/saleor/resources/server_block > /etc/nginx/sites-available/saleor