bugfix - nginx fails to start up
[holmes/rule-management.git] / 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.