custom config moved to /share
This commit is contained in:
parent
68f1c026b6
commit
a7a27cbaf0
@ -18,7 +18,7 @@
|
|||||||
"10050/tcp": 10050
|
"10050/tcp": 10050
|
||||||
},
|
},
|
||||||
"map": [
|
"map": [
|
||||||
"config"
|
"share"
|
||||||
],
|
],
|
||||||
"options": {
|
"options": {
|
||||||
"server": "zabbix-server",
|
"server": "zabbix-server",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
CONFIG_PATH=/data/options.json
|
CONFIG_PATH=/data/options.json
|
||||||
CUSTOM_CFG_PATH=/data/zabbix-agent
|
CUSTOM_CFG_PATH=/share/zabbix-agent
|
||||||
|
|
||||||
SERVER=$(jq --raw-output ".server" $CONFIG_PATH)
|
SERVER=$(jq --raw-output ".server" $CONFIG_PATH)
|
||||||
HOSTNAME=$(jq --raw-output ".hostname" $CONFIG_PATH)
|
HOSTNAME=$(jq --raw-output ".hostname" $CONFIG_PATH)
|
||||||
|
Loading…
Reference in New Issue
Block a user