msmith-techempower 11 жил өмнө
parent
commit
4951e41d0e

+ 3 - 0
frameworks/Lua/lapis/bash_profile.sh

@@ -0,0 +1,3 @@
+#!/bin/bash
+
+export OPENRESTY_HOME=${IROOT}/openresty-1.7.4.1

+ 2 - 0
frameworks/Lua/lapis/setup.sh

@@ -3,4 +3,6 @@
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.lua
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.lua
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' nginx.conf
 sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' nginx.conf
 
 
+export PATH=${OPENRESTY_HOME}/nginx/sbin:$PATH
+
 lapis server production &
 lapis server production &