~dricottone/huttese-apk

b59e07245aa4220f9adf416e8ddc94ee376a6499 — Drew DeVault 4 years ago e190db7
alertmanager: checkpath to ensure storage dir

The last commit was a red herring, the actual problem is that the
storage dir was not there.
2 files changed, 2 insertions(+), 1 deletions(-)

M sr.ht/alertmanager/APKBUILD
M sr.ht/alertmanager/alertmanager.initd
M sr.ht/alertmanager/APKBUILD => sr.ht/alertmanager/APKBUILD +1 -1
@@ 1,7 1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=alertmanager
pkgver=0.19.0
pkgrel=1
pkgrel=3
pkgdesc="Prometheus Alertmanager"
url="https://github.com/prometheus/alertmanager"
arch="all"

M sr.ht/alertmanager/alertmanager.initd => sr.ht/alertmanager/alertmanager.initd +1 -0
@@ 13,4 13,5 @@ start_pre() {
		-m 644 -o prometheus:prometheus
	[ -n "$error_log" ] && checkpath -f "$error_log" \
		-m 644 -o prometheus:prometheus
	checkpath -d "$alertmanager_storage_path" -m 755 -o prometheus:prometheus
}