From d75b3c9cf2ccfc4c7be4383346e603e0815c1892 Mon Sep 17 00:00:00 2001 From: anima Date: Sat, 1 Feb 2025 20:25:11 +0100 Subject: [PATCH] remove all one line comments form influxdb.conf --- init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/init.sh b/init.sh index 1de8d29..64a326c 100644 --- a/init.sh +++ b/init.sh @@ -58,6 +58,7 @@ fi if [ ! -f "$ICINGA2_FILE_INFLUXDB_CONF" ]; then echo enable influxdb /usr/sbin/icinga2 feature enable influxdb + sed -i "s|//| |g" $ICINGA2_FILE_INFLUXDB_CONF fi if [ ! -z "$ICINGA2_INFLUXDB_HOST" ]; then