summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorThor772017-01-22 00:05:17 +0100
committerThor772017-01-22 00:15:53 +0100
commit12352db78da900d14799a69a996f1b4e5dc500e2 (patch)
tree2baafaaddc8ac34258c1bcb3aef12815f3cc7899 /PKGBUILD
parent8106ee0488bb55b3fb897dbcd8dd4c6e3a28299c (diff)
downloadaur-12352db78da900d14799a69a996f1b4e5dc500e2.tar.gz
Move logdir-creation into .install
because it requires telegraf-user/group which is only created in post_install * Increase pkgrel to 3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8be65f7fd443..c7ea49faa71d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=telegraf-bin
pkgver=1.1.2
-pkgrel=2
+pkgrel=3
pkgdesc="An open source agent for collecting metrics and data on the system; Binary release"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://www.influxdata.com/time-series-platform/telegraf/"
@@ -26,8 +26,6 @@ source=('telegraf.sysusers' 'telegraf.tmpfiles' 'LICENSE')
md5sums=('58cc9edf8fbf07e7d3a0357db78121b1' '9c7a4df3556cab94837c432f5e46cf04' '10a23e7a514f23f0930e1a4254936534')
package() {
- install -d -m 755 -o telegraf -g telegraf ${pkgdir}/var/log/telegraf
-
cd $srcdir
install -Dm644 telegraf.sysusers "$pkgdir/usr/lib/sysusers.d/telegraf.conf"
install -Dm644 telegraf.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/telegraf.conf"