Skip to content
Snippets Groups Projects
Commit fa084574 authored by Rowan Powell's avatar Rowan Powell
Browse files

Corrected to preserve copied telegraf_{service}.conf file names

parent aebbb095
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ if [ ! -f $TELEGRAF_SERVICE_CONF_FILE ]; then ...@@ -66,7 +66,7 @@ if [ ! -f $TELEGRAF_SERVICE_CONF_FILE ]; then
echo "Warning: Telegraf conf service specific file not found: "$TELEGRAF_SERVICE_CONF_FILE echo "Warning: Telegraf conf service specific file not found: "$TELEGRAF_SERVICE_CONF_FILE
else else
echo "Telegraf service config file: " $TELEGRAF_SERVICE_CONF_FILE echo "Telegraf service config file: " $TELEGRAF_SERVICE_CONF_FILE
cp $TELEGRAF_SERVICE_CONF_FILE /etc/telegraf/telegraf.d/telegraf.conf cp $TELEGRAF_SERVICE_CONF_FILE /etc/telegraf/telegraf.d/
fi fi
echo "INFLUXDB_URL: " $INFLUXDB_URL echo "INFLUXDB_URL: " $INFLUXDB_URL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment