@@ -0,0 +1,3 @@
+#!/bin/bash
+
+export OPENRESTY_HOME=${IROOT}/openresty-1.7.4.1
@@ -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 &