From 54804bb2e2fd24c4c2866969f1c80d7253f2037c Mon Sep 17 00:00:00 2001 From: Vague Rabbit Date: Sun, 24 Jan 2021 17:42:55 -0800 Subject: [PATCH] meep --- Saleor_Production_Deployment.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Saleor_Production_Deployment.sh b/Saleor_Production_Deployment.sh index 8ff78ec..18d04ef 100644 --- a/Saleor_Production_Deployment.sh +++ b/Saleor_Production_Deployment.sh @@ -298,7 +298,7 @@ npm run build-emails sudo touch /etc/init.d/saleor sudo chmod +x /etc/init.d/saleor -sudo update-rc.d /etc/init.d/saleor defaults +sudo update-rc.d saleor defaults APIURL="http://$API_HOST:$API_PORT/$APIURI/" @@ -327,6 +327,7 @@ fi npm run build echo "Restarting nginx..." +sudo ln -s /etc/nginx/sites-available/saleor /etc/nginx/sites-enabled/ sudo systemctl restart nginx sleep 3