From 0fcd98d6034430d0c8eafc693b2a9d79156c24ff Mon Sep 17 00:00:00 2001 From: Vague Rabbit Date: Sun, 24 Jan 2021 01:17:31 -0800 Subject: [PATCH] sed change --- Saleor_Production_Deployment.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Saleor_Production_Deployment.sh b/Saleor_Production_Deployment.sh index 526e8b7..dbb89dc 100644 --- a/Saleor_Production_Deployment.sh +++ b/Saleor_Production_Deployment.sh @@ -228,11 +228,11 @@ git clone https://github.com/thewhiterabbit/saleor.git wait 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 wait -sudo sed -i "s|{hd}|$HD| +sudo sed "s|{hd}|$HD| s/{api_host}/$API_HOST/ s/{host}/$HOST/g s/{apiport}/$API_PORT/" $HD/saleor/resources/server_block > /etc/nginx/sites-available/saleor