Adjust runtime for PHP8 (#206)

This commit is contained in:
Franck Nijhof 2021-07-19 14:15:33 +02:00 committed by GitHub
parent e16e62f219
commit c9f761e253
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -10,8 +10,8 @@ bashio::var.json \
port "^9002" \
base "$(bashio::addon.ingress_entry)" \
| tempio \
-template /etc/php7/templates/php-fpm.gtpl \
-out /etc/php7/php-fpm.d/ingress.conf
-template /etc/php8/templates/php-fpm.gtpl \
-out /etc/php8/php-fpm.d/ingress.conf
# Generate direct access configuration, if enabled.
if bashio::var.has_value "$(bashio::addon.port 80)"; then
@ -19,6 +19,6 @@ if bashio::var.has_value "$(bashio::addon.port 80)"; then
name "www" \
port "^9001" \
| tempio \
-template /etc/php7/templates/php-fpm.gtpl \
-out /etc/php7/php-fpm.d/www.conf
-template /etc/php8/templates/php-fpm.gtpl \
-out /etc/php8/php-fpm.d/www.conf
fi

View file

@ -89,4 +89,4 @@ GROCY_CULTURE=$(bashio::config "culture")
GROCY_CURRENCY=$(bashio::config "currency")
GROCY_ENTRY_PAGE=$(bashio::config 'entry_page')
exec php-fpm7 --nodaemonize
exec php-fpm8 --nodaemonize