From f149859daf79f2c2a203f02de0ea94c0f4b76962 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 21 Apr 2019 23:24:06 -0400 Subject: [PATCH] Install prometheus data dir --- prometheus/prometheus/APKBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/prometheus/prometheus/APKBUILD b/prometheus/prometheus/APKBUILD index f987d5a..92216dd 100644 --- a/prometheus/prometheus/APKBUILD +++ b/prometheus/prometheus/APKBUILD @@ -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 -- 2.45.2