fix var name for influxdb host
All checks were successful
build container icinga2 / build (push) Successful in 2m31s

This commit is contained in:
2025-02-01 20:28:45 +01:00
parent d75b3c9cf2
commit 3ece0ebbbe

View File

@@ -63,7 +63,7 @@ fi
if [ ! -z "$ICINGA2_INFLUXDB_HOST" ]; then if [ ! -z "$ICINGA2_INFLUXDB_HOST" ]; then
echo set new influxdb host echo set new influxdb host
sed -i "s|\(//\)*host = \".*\"|host = \"$ICINGA2_INFLUXDB_PASS\"|g" $ICINGA2_FILE_INFLUXDB_CONF sed -i "s|\(//\)*host = \".*\"|host = \"$ICINGA2_INFLUXDB_HOST\"|g" $ICINGA2_FILE_INFLUXDB_CONF
fi fi
if [ ! -z "$ICINGA2_INFLUXDB_PORT" ]; then if [ ! -z "$ICINGA2_INFLUXDB_PORT" ]; then