aports/configs/telegraf/APKBUILD

25 lines
600 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-config-telegraf
pkgver=2020.12.23
pkgrel=0
pkgdesc="Telegraf monitoring configuration"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="telegraf"
source="
main.conf
"
#options="!check"
package() {
install -Dm400 main.conf "$pkgdir"/etc/telegraf/main.conf
}
check() {
telegraf --config main.conf --test >/dev/null
}
sha512sums="3d342136225a8c060be6af63e0769da6fc870206471836cd4f414b9765c85930fe5a9fdb6b7a7acedb2d631264472849c53c2af7a4a387bd2c582bf1c1a0c97e main.conf"