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
4
start.sh
4
start.sh
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
/usr/sbin/php-fpm7 --allow-to-run-as-root -D --fpm-config /etc/php7/php-fpm.conf
|
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
|
caddy run --config /etc/Caddyfile --adapter caddyfile
|
||||||
|
Loading…
Reference in New Issue
Block a user