#!/bin/bash fw_depends mysql php7 nginx composer sed -i 's|database_host: .*|database_host: '"${DBHOST}"'|g' app/config/parameters.yml sed -i 's|root .*/FrameworkBenchmarks/php-symfony| root '"${TROOT}"'|g' deploy/nginx.conf sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf php bin/console cache:clear --env=prod --no-debug --no-warmup php bin/console cache:warmup --env=prod --no-debug php-fpm --fpm-config $FWROOT/toolset/setup/linux/languages/php/php-fpm.conf -g $TROOT/deploy/php-fpm.pid nginx -c $TROOT/deploy/nginx.conf