From 287d14f96febbc444e6a304496b168123c66bb03 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Mon, 21 Jun 2021 14:44:39 +0200 Subject: [PATCH] [GHA] fix nginx restarts --- dev-tools/install-nginx-1.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dev-tools/install-nginx-1.sh b/dev-tools/install-nginx-1.sh index 74fff0741..919b205b3 100755 --- a/dev-tools/install-nginx-1.sh +++ b/dev-tools/install-nginx-1.sh @@ -68,9 +68,8 @@ printf "\n" echo "${bold}${green}---------------" echo "${bold}${green}Starting Nginx" echo "${bold}${green}---------------" -sudo systemctl enable nginx -sudo systemctl start nginx sudo systemctl status nginx.service +sudo systemctl restart nginx } reloadNginX () { @@ -239,7 +238,7 @@ runsetupngxblocker1 loadNginxConf forceUpdateTest1 runupdatengxblocker -startNginX +#startNginX reloadNginX waitforReload forceUpdateTest2