From 4007d76e902a1cb90318e5443c89e38b75a03726 Mon Sep 17 00:00:00 2001 From: Vague Rabbit Date: Sun, 24 Jan 2021 00:50:47 -0800 Subject: [PATCH] sed delimiter changed from / to | --- 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 a065b87..df96337 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 -i "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 -i "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