Skip to content

Commit

Permalink
Use env variables in Zabbix web images
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Sep 10, 2020
1 parent 92553eb commit f926119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-nginx-pgsql/centos/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ prepare_web_server() {
prepare_zbx_web_config() {
echo "** Preparing Zabbix frontend configuration file"

ZPHP_CONFIG_FILE="/etc/php-fpm.d/zabbix.conf"
PHP_CONFIG_FILE="/etc/php-fpm.d/zabbix.conf"

if [ "$(id -u)" == '0' ]; then
echo "user = zabbix" >> "$PHP_CONFIG_FILE"
Expand Down

0 comments on commit f926119

Please sign in to comment.