setup.sh 246 B

12345678910
  1. #!/bin/bash
  2. sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.lua
  3. sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.moon
  4. sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' nginx.conf
  5. fw_depends lua luarocks openresty
  6. luarocks install lapis
  7. lapis server production &