2020-11-20 16:31:49 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
|
|
pkgname=telegraf-redxen-openrc
|
2020-12-07 15:46:31 +00:00
|
|
|
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"
|
2020-12-07 15:46:31 +00:00
|
|
|
depends="openrc telegraf-openrc telegraf-redxen-config"
|
2020-11-20 16:31:49 +00:00
|
|
|
options="!check"
|
|
|
|
source="
|
|
|
|
conffile
|
|
|
|
"
|
|
|
|
builddir="$srcdir"
|
|
|
|
|
|
|
|
package() {
|
2020-12-07 15:46:31 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2020-12-07 15:46:31 +00:00
|
|
|
sha512sums="9bf080e445c9dbb1a8cab493dbf5d344be1cfe38164eb5fa84c8541f38a5506cddc797829dc51478215e06694c815b1174b134542116283e8bdaf07fa137466c conffile"
|