From f94e195faa2e3d6abb9bed73f5112a7c3bf51d59 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Mon, 21 Jun 2021 14:50:51 +0200 Subject: [PATCH] [GHA] fix nginx restarts --- dev-tools/install-nginx-1.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-tools/install-nginx-1.sh b/dev-tools/install-nginx-1.sh index cf9a0edd3..cdecfa2bd 100755 --- a/dev-tools/install-nginx-1.sh +++ b/dev-tools/install-nginx-1.sh @@ -69,8 +69,10 @@ echo "${bold}${green}---------------" echo "${bold}${green}Starting Nginx" echo "${bold}${green}---------------" sudo systemctl status nginx.service -sudo systemctl start nginx -sudo systemctl restart nginx +sudo nginx -t +sudo service nginx start +#sudo systemctl start nginx +#sudo systemctl restart nginx } reloadNginX () {