mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-22 21:38:41 +01:00
Use env variables in Zabbix web images
This commit is contained in:
parent
92553eb838
commit
f926119e0a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user