mirror of
https://github.com/hassio-addons/addon-grocy.git
synced 2025-05-04 19:21:24 +00:00
Adjust runtime for PHP8
This commit is contained in:
parent
e16e62f219
commit
072fbf7dfc
5 changed files with 5 additions and 5 deletions
|
@ -10,8 +10,8 @@ bashio::var.json \
|
||||||
port "^9002" \
|
port "^9002" \
|
||||||
base "$(bashio::addon.ingress_entry)" \
|
base "$(bashio::addon.ingress_entry)" \
|
||||||
| tempio \
|
| tempio \
|
||||||
-template /etc/php7/templates/php-fpm.gtpl \
|
-template /etc/php8/templates/php-fpm.gtpl \
|
||||||
-out /etc/php7/php-fpm.d/ingress.conf
|
-out /etc/php8/php-fpm.d/ingress.conf
|
||||||
|
|
||||||
# Generate direct access configuration, if enabled.
|
# Generate direct access configuration, if enabled.
|
||||||
if bashio::var.has_value "$(bashio::addon.port 80)"; then
|
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" \
|
name "www" \
|
||||||
port "^9001" \
|
port "^9001" \
|
||||||
| tempio \
|
| tempio \
|
||||||
-template /etc/php7/templates/php-fpm.gtpl \
|
-template /etc/php8/templates/php-fpm.gtpl \
|
||||||
-out /etc/php7/php-fpm.d/www.conf
|
-out /etc/php8/php-fpm.d/www.conf
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -89,4 +89,4 @@ GROCY_CULTURE=$(bashio::config "culture")
|
||||||
GROCY_CURRENCY=$(bashio::config "currency")
|
GROCY_CURRENCY=$(bashio::config "currency")
|
||||||
GROCY_ENTRY_PAGE=$(bashio::config 'entry_page')
|
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