summarylogtreecommitdiffstats
path: root/telegraf.install
diff options
context:
space:
mode:
Diffstat (limited to 'telegraf.install')
-rw-r--r--telegraf.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/telegraf.install b/telegraf.install
index 9b8c80ad9c3a..ba7489edd9ed 100644
--- a/telegraf.install
+++ b/telegraf.install
@@ -3,4 +3,5 @@
post_install() {
systemd-sysusers /usr/lib/sysusers.d/telegraf.conf
systemd-tmpfiles --create /usr/lib/tmpfiles.d/telegraf.conf
+ install -d -m 755 -o telegraf -g telegraf /var/log/telegraf
}