mirror of
https://github.com/hassio-addons/addon-grocy.git
synced 2025-05-04 19:21:24 +00:00
Adjust runtime for PHP8 (#206)
This commit is contained in:
parent
e16e62f219
commit
c9f761e253
5 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue