Update 99-run.sh

This commit is contained in:
Alexandre
2025-02-06 16:08:39 +01:00
committed by GitHub
parent e54fa9e828
commit ca215e2e8b

View File

@@ -76,14 +76,10 @@ if bashio::config.true 'silent'; then
export silent="true" export silent="true"
fi fi
11-execute-things.sh
sudo -E su - www-data -s /bin/bash -c 'cd /var/www/html sudo -E su - www-data -s /bin/bash -c 'cd /var/www/html
for SCRIPTS in /scripts/*; do echo "Execute 11-execute-things.sh"
[ -e "$SCRIPTS" ] || continue /./11-execute-things.sh
echo "$SCRIPTS: executing"
source "$SCRIPTS" || { echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?"; exit $?; }
done
if [[ "$silent" == "true" ]]; then if [[ "$silent" == "true" ]]; then
echo "Starting : php-fpm" echo "Starting : php-fpm"
/usr/local/sbin/php-fpm --nodaemonize >/dev/null /usr/local/sbin/php-fpm --nodaemonize >/dev/null