Fix start script to support with and without php
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ed7ec2a709
commit
03c15f6884
2
start.sh
2
start.sh
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/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
|
/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
|
caddy run --config /etc/Caddyfile --adapter caddyfile
|
||||||
|
Loading…
Reference in New Issue
Block a user