~dricottone/huttese-apk

f149859daf79f2c2a203f02de0ea94c0f4b76962 — Drew DeVault 5 years ago 3312d49
Install prometheus data dir
1 files changed, 4 insertions(+), 3 deletions(-)

M prometheus/prometheus/APKBUILD
M prometheus/prometheus/APKBUILD => prometheus/prometheus/APKBUILD +4 -3
@@ 40,13 40,14 @@ package() {
	install -Dm755 prometheus "$pkgdir"/usr/bin/prometheus
	install -Dm755 promtool "$pkgdir"/usr/bin/promtool

	install -Dm640 -t "$pkgdir"/etc/prometheus \
		documentation/examples/prometheus.yml

	install -Dm644 "$srcdir"/prometheus.confd \
		"$pkgdir"/etc/conf.d/prometheus
	install -Dm755 "$srcdir"/prometheus.initd \
		"$pkgdir"/etc/init.d/prometheus
	install -dm644 "$pkgdir"/var/lib/prometheus/data

	install -Dm644 -t "$pkgdir"/etc/prometheus \
		documentation/examples/prometheus.yml
}

sha512sums="d9ae1078ab5b242020f00f5dfc154a75c3e1473be8f1fbecdf8f2589d55a09f8418cbf9aa189a9b2e61b4b5fca875735a26200496c02bb17793bbccbdc9f69cd  prometheus-2.9.1.tar.gz