Align fpm find code with upstream

https://github.com/alexbelgium/hassio-addons/issues/1647
This commit is contained in:
Alexandre
2024-11-23 20:15:29 +01:00
committed by GitHub
parent 549871a9c8
commit 522ed565fe

View File

@@ -7,6 +7,7 @@ cp -rnf /var/www/baikal/* /data/
chown -R nginx:nginx /data
# Start app
/./etc/init.d/php8.1-fpm start && \
chown -R nginx:nginx /data/Specific && \
nginx -g "daemon off;"
# Find the PHP FPM service script and start it
find /etc/init.d -type f -name "php*-fpm" -exec {} start \; && \
chown -R nginx:nginx /data/Specific && \
nginx -g "daemon off;"