M sr.ht/alertmanager/APKBUILD => sr.ht/alertmanager/APKBUILD +3 -3
@@ 1,7 1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=alertmanager
pkgver=0.19.0
-pkgrel=2
+pkgrel=1
pkgdesc="Prometheus Alertmanager"
url="https://github.com/prometheus/alertmanager"
arch="all"
@@ 51,5 51,5 @@ package() {
}
sha512sums="2c21bfbb1001e07e81b1115439ad15e7c0e7089839e56a19c445177e322b8ef9aa2b85e96478f3c3d709cbbd3a5447662a8c55da370b84aa4b6b24f83848744b alertmanager-0.19.0.tar.gz
-c4cb71c0da6b991f95ffd06dc860907548f009699d7c3675d333d113ed0374e8b5dbb15a884f760797eca17969d40dee7d3c383082be33d54ac8ce97d961fe44 alertmanager.confd
-3a038092875e408a4571f42d2fab89b4e83aa80102701119db99be2946529319780864f78a708adcedc6abdc72cdad8969763c81a890129bad6dd428ac188156 alertmanager.initd"
+9516a5a26ecfff4b6511084df346ee66fd923522d2750ce5deb894980c7782f5175ebd83a5a401a384f6caa28c1aa436de56660538f417fa6c71d9e4397b6bf4 alertmanager.confd
+68fc6733011d854d5dabbc6e646774b5c9cc78fce2a79b14ab8d4eb760fad86aac62149847ed9749198e9a46cc65e8bc5a4894c8dafe3c750e4a9fe7c81b066d alertmanager.initd"
M sr.ht/alertmanager/alertmanager.confd => sr.ht/alertmanager/alertmanager.confd +1 -0
@@ 1,4 1,5 @@
alertmanager_config_file=/etc/alertmanager/alertmanager.yml
+alertmanager_storage_path=/var/lib/alertmanager/data
output_log=/var/log/alertmanager.log
error_log=/var/log/alertmanager.log
M sr.ht/alertmanager/alertmanager.initd => sr.ht/alertmanager/alertmanager.initd +2 -1
@@ 3,7 3,8 @@ name="alertmanager"
description="alert manager for the prometheus monitoring system"
supervisor=supervise-daemon
command=/usr/bin/prometheus
-command_args="--config.file=$alertmanager_config_file"
+command_args="--config.file=$alertmanager_config_file \
+ --storage.path=$alertmanager_storage_path"
command_user="prometheus:prometheus"
pidfile="/run/${RC_SVCNAME}.pid"