sed change
This commit is contained in:
parent
4d50b74813
commit
0fcd98d603
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue