From a7a27cbaf079536f14fb7344a2cd90201201d267 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Wed, 20 Mar 2019 09:42:28 +0100 Subject: [PATCH] custom config moved to /share --- zabbix-agent/config.json | 2 +- zabbix-agent/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zabbix-agent/config.json b/zabbix-agent/config.json index 0d20910..e52e97d 100644 --- a/zabbix-agent/config.json +++ b/zabbix-agent/config.json @@ -18,7 +18,7 @@ "10050/tcp": 10050 }, "map": [ - "config" + "share" ], "options": { "server": "zabbix-server", diff --git a/zabbix-agent/run.sh b/zabbix-agent/run.sh index 0d1d379..fc67ef0 100644 --- a/zabbix-agent/run.sh +++ b/zabbix-agent/run.sh @@ -2,7 +2,7 @@ set -e CONFIG_PATH=/data/options.json -CUSTOM_CFG_PATH=/data/zabbix-agent +CUSTOM_CFG_PATH=/share/zabbix-agent SERVER=$(jq --raw-output ".server" $CONFIG_PATH) HOSTNAME=$(jq --raw-output ".hostname" $CONFIG_PATH)