mirror of
https://github.com/darksaid98/ptero-nginx-egg.git
synced 2026-12-01 22:21:54 +00:00
Big update, Added the option to install wordpress, and you can now install composer packages by specifying them Egg has also been renamed from nginx egg to webhost egg
10 lines
314 B
Bash
10 lines
314 B
Bash
#!/bin/ash
|
|
rm -rf /home/container/tmp/*
|
|
|
|
echo "Starting PHP-FPM..."
|
|
/usr/sbin/php-fpm8 --fpm-config /home/container/php-fpm/php-fpm.conf --daemonize
|
|
|
|
echo "Starting Nginx..."
|
|
echo "=!=!=!== Please ignore the error about no permissions to the log file. ==!=!=!="
|
|
/usr/sbin/nginx -c /home/container/nginx/nginx.conf
|