We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c72441e + df20875 commit e31d0fbCopy full SHA for e31d0fb
bin/entrypoint.sh
@@ -1,6 +1,6 @@
1
#!/usr/bin/env bash
2
#
3
-# Copyright 2017 Comcast Cable Communications Management, LLC
+# Copyright 2024 Comcast Cable Communications Management, LLC
4
5
# Licensed under the Apache License, Version 2.0 (the "License");
6
# you may not use this file except in compliance with the License.
@@ -17,11 +17,10 @@
17
PATH="$PWD/bin:$PATH"
18
19
TELEGRAF_CONFIG_PATH=${TELEGRAF_CONFIG_PATH:-telegraf.conf}
20
-export TELEGRAF_CONFIG_PATH
21
22
TELEGRAF_CONFIG_DIRECTORY=${TELEGRAF_CONFIG_DIRECTORY:-conf}
23
24
config-influxdb-output.sh
25
config-global-tags.sh
26
27
-exec telegraf -config-directory "$TELEGRAF_CONFIG_DIRECTORY"
+exec telegraf -config-directory "$TELEGRAF_CONFIG_DIRECTORY" --config "$TELEGRAF_CONFIG_PATH"
0 commit comments