msmith-techempower %!s(int64=11) %!d(string=hai) anos
pai
achega
4951e41d0e
Modificáronse 2 ficheiros con 5 adicións e 0 borrados
  1. 3 0
      frameworks/Lua/lapis/bash_profile.sh
  2. 2 0
      frameworks/Lua/lapis/setup.sh

+ 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' nginx.conf
 
+export PATH=${OPENRESTY_HOME}/nginx/sbin:$PATH
+
 lapis server production &