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