summarylogtreecommitdiffstats
path: root/telegraf.install
diff options
context:
space:
mode:
authorÓscar García Amor2019-03-07 19:33:31 +0100
committerÓscar García Amor2019-03-07 19:33:31 +0100
commitef497a5c1311ebbfccd8a091deed0f0b58ce98e0 (patch)
treec762057115db686f0e2450924fccc38fc7c197be /telegraf.install
parent09e485db80ba0185fd90c9c29b606dfe62d6bf8f (diff)
downloadaur-ef497a5c1311ebbfccd8a091deed0f0b58ce98e0.tar.gz
Updated to v1.10.0
Diffstat (limited to 'telegraf.install')
-rw-r--r--telegraf.install18
1 files changed, 4 insertions, 14 deletions
diff --git a/telegraf.install b/telegraf.install
index 0072686eb57c..893c28368f5c 100644
--- a/telegraf.install
+++ b/telegraf.install
@@ -1,15 +1,5 @@
-#/bin/sh
-
-# arg 1: the new package version
-post_install() {
- systemd-sysusers /usr/lib/sysusers.d/telegraf.conf
- systemd-tmpfiles --create /usr/lib/tmpfiles.d/telegraf.conf
- systemctl daemon-reload
+post_remove() {
+ echo "Remember that the following directories aren't removed."
+ echo " -> /etc/telegraf"
+ echo " -> /var/lib/telegraf"
}
-
-post_upgrade() {
- systemctl daemon-reload
-}
-
-# vim:set ts=2 sw=2 et:
-