New package: chrony_exporter-0.7.0

This commit is contained in:
Leah Neukirchen 2023-12-25 16:56:06 +01:00
parent f5ddd3f951
commit 9bae988f3c
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#!/bin/sh
exec 2>&1
[ -r conf ] && . ./conf
exec chpst -u chrony chrony_exporter ${OPTS}

View file

@ -0,0 +1,17 @@
# Template file for 'chrony_exporter'
pkgname=chrony_exporter
version=0.7.0
revision=1
build_style=go
go_import_path="github.com/superq/chrony_exporter"
depends="chrony"
short_desc="Prometheus exporter for Chrony NTP"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/SuperQ/chrony_exporter"
distfiles="https://github.com/SuperQ/chrony_exporter/archive/refs/tags/v${version}.tar.gz"
checksum=32f254dc794b505ec6b2f5a4f9d67ca3d80a0ce17280a00b96f3849ab8054cec
post_install() {
vsv chrony_exporter
}