Fix start script to support with and without php
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2022-02-20 00:37:50 +01:00
parent ed7ec2a709
commit 03c15f6884

View File

@ -1,5 +1,7 @@
#!/bin/sh
if [ -f "/usr/sbin/php-fpm7" ]; then
/usr/sbin/php-fpm7 --allow-to-run-as-root -D --fpm-config /etc/php7/php-fpm.conf
fi
caddy run --config /etc/Caddyfile --adapter caddyfile