aports/openrc-configs/telegraf-redxen-openrc/APKBUILD

24 lines
668 B
Plaintext
Raw Normal View History

2020-11-20 16:31:49 +00:00
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=telegraf-redxen-openrc
pkgver=2020.12.7
pkgrel=1
2020-11-20 16:31:49 +00:00
pkgdesc="Telegraf service files"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="openrc telegraf-openrc telegraf-redxen-config"
2020-11-20 16:31:49 +00:00
options="!check"
source="
conffile
"
builddir="$srcdir"
package() {
mkdir -p "$pkgdir"/etc/init.d
ln -s telegraf "$pkgdir"/etc/init.d/telegraf.redxen
install -Dm644 conffile "$pkgdir"/etc/conf.d/telegraf.redxen
2020-11-20 16:31:49 +00:00
}
sha512sums="9bf080e445c9dbb1a8cab493dbf5d344be1cfe38164eb5fa84c8541f38a5506cddc797829dc51478215e06694c815b1174b134542116283e8bdaf07fa137466c conffile"