fix var name for influxdb host
All checks were successful
build container icinga2 / build (push) Successful in 2m31s
All checks were successful
build container icinga2 / build (push) Successful in 2m31s
This commit is contained in:
2
init.sh
2
init.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user