net-mgmt/telegraf: logging changed in rc-script with 1.7.X (#886)

This commit is contained in:
Michael
2018-10-02 12:03:57 +02:00
committed by Franco Fichtner
parent f9302ab8e3
commit a49c851c24
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= telegraf
PLUGIN_VERSION= 1.6.0
PLUGIN_VERSION= 1.7.0
PLUGIN_COMMENT= Agent for collecting metrics and data
PLUGIN_DEPENDS= telegraf
PLUGIN_MAINTAINER= m.muenz@gmail.com
@@ -0,0 +1,5 @@
#!/bin/sh
mkdir -p /var/log/telegraf
chown -R telegraf:telegraf /var/log/telegraf
chmod 750 /var/log/telegraf
@@ -34,7 +34,6 @@
precision = ""
debug = false
quiet = true
logfile = "/var/log/telegraf.log"
{% if helpers.exists('OPNsense.telegraf.general.hostname') and OPNsense.telegraf.general.hostname != '' %}
hostname = "{{ OPNsense.telegraf.general.hostname }}"
{% endif %}