setup.sh 431 B

12345678910
  1. #!/bin/bash
  2. sed -i 's|192.168.100.102|'"${DBHOST}"'|g' app/config/bootstrap/connections.php
  3. sed -i 's|root .*/FrameworkBenchmarks/php-lithium|root '"${TROOT}"'|g' deploy/nginx.conf
  4. sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
  5. export PATH="$PHP_HOME/bin:$PHP_HOME/sbin:$PATH"
  6. $PHP_FPM --fpm-config $FWROOT/config/php-fpm.conf -g $TROOT/deploy/php-fpm.pid
  7. $NGINX_HOME/sbin/nginx -c $TROOT/deploy/nginx.conf