bugfix - nginx fails to start up 94/130294/1
authorGuangrong Fu <fu.guangrong@zte.com.cn>
Tue, 16 Aug 2022 10:53:30 +0000 (18:53 +0800)
committerGuangrong Fu <fu.guangrong@zte.com.cn>
Tue, 16 Aug 2022 10:53:30 +0000 (18:53 +0800)
Issue-ID: HOLMES-565
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Change-Id: If09bdaad7536c4ccbaf04e9d4649bc2e62ca4488

rulemgt-standalone/src/main/assembly/bin/run.sh

index d1cebc3..873951f 100644 (file)
@@ -119,9 +119,9 @@ else
 fi
 
 if [ "${ENABLE_ENCRYPT}"x = "true"x ]; then
-    sudo nginx -c /etc/nginx/conf.d/nginx-https.conf
+    nginx -c /etc/nginx/conf.d/nginx-https.conf
 else
-    sudo nginx -c /etc/nginx/conf.d/nginx-http.conf
+    nginx -c /etc/nginx/conf.d/nginx-http.conf
 fi
 echo nginx started.