~dricottone/huttese-apk

228a485d68e8fdace72a4e103cc8e312f51890d0 — Drew DeVault 4 years ago 405ace3
prometheus-node-exporter: init: correct variables
M sr.ht/prometheus-node-exporter/APKBUILD => sr.ht/prometheus-node-exporter/APKBUILD +3 -2
@@ 1,7 1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=prometheus-node-exporter
pkgver=0.18.1
pkgrel=1
pkgrel=2
pkgdesc="prometheus exporter for machine metrics"
url="https://github.com/prometheus/node_exporter"
arch="all"


@@ 39,4 39,5 @@ package() {
}

sha512sums="cf2b854fbec1ba39b18432cdc11ab507ebc5b2828e6b34b4f49af9b949fcd365cb3e5eb1e265d0825783810c6b1572a8b3512ec27a46e5c83f89a505590159c0  prometheus-node-exporter-0.18.1.tar.gz
b3034209d6f6f01317a76005de4110407f0ca55c08fd1a6261162485b344289e347d5c3bebece2f571d97fb1c757f897560344c98d7d651675d5ca466d26e3ef  prometheus-node-exporter.initd"
fe8320b47d93c9590ccf9a3456f74b90a960fd46a7561202470687de2fc5d2caebded682d2274bec71602e694b778f282d5876400da60d716ce3d3cee5e45b99  prometheus-node-exporter.initd
a19cb380e12a292af3645de18d59ebac6ce4b521281f1761d069b5d8bd574a83c92265a3a4023e372fce7ec9bab0f1849e9953cf81801fc24576acec20afb964  prometheus-node-exporter.confd"

M sr.ht/prometheus-node-exporter/prometheus-node-exporter.initd => sr.ht/prometheus-node-exporter/prometheus-node-exporter.initd +2 -2
@@ 6,8 6,8 @@ command=/usr/bin/prometheus_node_exporter
command_args="--web.listen-address=$prometheus_node_exporter_web_listen_address"

start_pre() {
	[ -n "$output_log" ] && checkpath -f "$output_path" \
	[ -n "$output_log" ] && checkpath -f "$output_log" \
		-m 644 -o prometheus:prometheus || true
	[ -n "$error_log" ] && checkpath -f "$error_path" \
	[ -n "$error_log" ] && checkpath -f "$error_log" \
		-m 644 -o prometheus:prometheus || true
}