Skip to content

Commit 439b15b

Browse files
committed
Fixed PHP config env variable
1 parent 8d2e1dc commit 439b15b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • templates/entrypoints/lib

templates/entrypoints/lib/php.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ prepare_php_config() {
2323
export PHP_FPM_PM_MAX_REQUESTS
2424

2525
if [ "$(id -u)" -eq 0 ]; then
26-
[[ -f "$PHP_ZBX_CONFIG_FILE" ]] || error "Missing configuration file: $PHP_CONFIG_FILE"
26+
[[ -f "$PHP_ZBX_CONFIG_FILE" ]] || error "Missing configuration file: $PHP_ZBX_CONFIG_FILE"
2727

2828
{
2929
echo "user = ${DAEMON_USER}"
3030
echo "group = ${DAEMON_GROUP}"
3131
echo "listen.owner = ${DAEMON_USER}"
3232
echo "listen.group = ${DAEMON_GROUP}"
33-
} >> "$PHP_CONFIG_FILE"
33+
} >> "$PHP_ZBX_CONFIG_FILE"
3434
fi
3535

3636
: "${EXPOSE_WEB_SERVER_INFO:=on}"

0 commit comments

Comments
 (0)