8 lines
317 B
Bash
Executable File
8 lines
317 B
Bash
Executable File
#!/bin/sh
|
|
/usr/local/bin/gomplate -V -o /etc/php7/php.ini -f /etc/templates/php.ini.tmpl 1>/dev/null
|
|
/usr/local/bin/gomplate -V -o /var/www/app/data/config.php -f /etc/templates/config.php.tmpl 1>/dev/null
|
|
|
|
exec supercronic -split-logs /etc/crontabs/nginx 1>/dev/null &
|
|
exec php-fpm7 -F &
|
|
exec nginx -g "daemon off;"
|