Skip to content

Commit

Permalink
New package: chrony_exporter-0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Dec 25, 2023
1 parent f5ddd3f commit 9bae988
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions srcpkgs/chrony_exporter/files/chrony_exporter/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
exec 2>&1
[ -r conf ] && . ./conf
exec chpst -u chrony chrony_exporter ${OPTS}
17 changes: 17 additions & 0 deletions srcpkgs/chrony_exporter/template
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
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
}

0 comments on commit 9bae988

Please sign in to comment.