summarylogtreecommitdiffstats
path: root/telegraf.install
diff options
context:
space:
mode:
authorNicolas Leclercq2016-01-13 16:02:58 +0100
committerNicolas Leclercq2016-01-13 16:02:58 +0100
commit9d4ac47f6b941abf89a91aad2f9b0411f73c6abe (patch)
treefb1264ae8fd93028f8ee23d3546c5cdc0d9c1c83 /telegraf.install
parentaae52f30a19b4cdb6418b8a04cd6fe2bd5c10622 (diff)
downloadaur-9d4ac47f6b941abf89a91aad2f9b0411f73c6abe.tar.gz
fix missing telegraf.d directory
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 84c7a406baf1..e51bf9189d0c 100644
--- a/telegraf.install
+++ b/telegraf.install
@@ -9,5 +9,6 @@ post_upgrade() {
getent passwd telegraf >/dev/null || useradd -c 'telegraf' -g telegraf -d '/var/lib/telegraf' -m -s /bin/false telegraf
mkdir -p /var/lib/telegraf
+ mkdir -p /etc/telegraf/telegraf.d
chown telegraf.telegraf /var/lib/telegraf
}