summaryrefslogtreecommitdiffstats
path: root/rulemgt-standalone/src/main
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2022-08-16 18:53:30 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2022-08-16 18:53:30 +0800
commit071f60ca7358101a5cd2ec864578ecc46511b241 (patch)
tree6b2a9c4f5ebc03b2294e02bbb2dd0c3a366b5c17 /rulemgt-standalone/src/main
parent6ebc6d22c0654cbdfde1329d5ea7a2f23df5988d (diff)
bugfix - nginx fails to start up
Issue-ID: HOLMES-565 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn> Change-Id: If09bdaad7536c4ccbaf04e9d4649bc2e62ca4488
Diffstat (limited to 'rulemgt-standalone/src/main')
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rulemgt-standalone/src/main/assembly/bin/run.sh b/rulemgt-standalone/src/main/assembly/bin/run.sh
index d1cebc3..873951f 100644
--- a/rulemgt-standalone/src/main/assembly/bin/run.sh
+++ b/rulemgt-standalone/src/main/assembly/bin/run.sh
@@ -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.