mirror of
https://github.com/darksaid98/ptero-nginx-egg.git
synced 2026-12-01 14:38:51 +00:00
10 lines
287 B
Bash
10 lines
287 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/
|