mirror of
https://github.com/darksaid98/ptero-nginx-egg.git
synced 2026-12-02 22:22:53 +00:00
10 lines
275 B
Bash
10 lines
275 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 "Successfully started"
|
|
/usr/sbin/nginx -c /home/container/nginx/nginx.conf -p /home/container/
|