Files
ptero-nginx-egg/start.sh
T
2022-06-24 15:07:06 +02:00

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/