summarylogtreecommitdiffstats
path: root/telegraf.install
diff options
context:
space:
mode:
authorNicolas Leclercq2016-09-29 10:24:21 +0200
committerNicolas Leclercq2016-09-29 10:24:21 +0200
commitd85a3e5a61503912007a0c4325e18bb606af0953 (patch)
tree368157065c73a752d7cf3784e63bcc7229cc978a /telegraf.install
parentdaaa93ba439192aa01a69f11d96fd4fcf1040769 (diff)
downloadaur-d85a3e5a61503912007a0c4325e18bb606af0953.tar.gz
add systemd tmpfiles
Diffstat (limited to 'telegraf.install')
-rw-r--r--telegraf.install4
1 files changed, 3 insertions, 1 deletions
diff --git a/telegraf.install b/telegraf.install
index 1424e617892c..be91c13c616e 100644
--- a/telegraf.install
+++ b/telegraf.install
@@ -2,7 +2,9 @@
# arg 1: the new package version
post_install() {
- systemd-sysusers telegraf.conf
+ systemd-sysusers /usr/lib/sysusers.d/telegraf.conf
+ systemd-tmpfiles --create /usr/lib/tmpfiles.d/telegraf.conf
+ systemctl daemon-reload
}
# vim:set ts=2 sw=2 et: