Browse Source

Naughty - bound to ports as root

msmith-techempower 10 years ago
parent
commit
d8e352112b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Lua/openresty/setup.sh

+ 1 - 1
frameworks/Lua/openresty/setup.sh

@@ -5,4 +5,4 @@ export PWD=$(pwd)
 sed -i 's|CWD|'"${PWD}"'|g' nginx.conf
 sed -i 's|CWD|'"${PWD}"'|g' nginx.conf
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' app.lua
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' app.lua
 
 
-sudo /usr/local/openresty/nginx/sbin/nginx -c $TROOT/nginx.conf -g "worker_processes '$MAX_THREADS';" &
+/usr/local/openresty/nginx/sbin/nginx -c $TROOT/nginx.conf -g "worker_processes '$MAX_THREADS';" &