From 81d9b5e222c289ad1344f7282dbea7be9e1494c1 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 22 Apr 2019 19:33:36 -0400 Subject: [PATCH] Update prometheus, alertmanager init scripts --- prometheus/alertmanager/APKBUILD | 2 +- prometheus/alertmanager/alertmanager.initd | 2 +- prometheus/prometheus/APKBUILD | 4 ++-- prometheus/prometheus/prometheus.initd | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/prometheus/alertmanager/APKBUILD b/prometheus/alertmanager/APKBUILD index 716b428..744a268 100644 --- a/prometheus/alertmanager/APKBUILD +++ b/prometheus/alertmanager/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Drew DeVault pkgname=alertmanager pkgver=0.16.2 -pkgrel=1 +pkgrel=2 pkgdesc="Prometheus Alertmanager" url="https://github.com/prometheus/alertmanager" arch="all" diff --git a/prometheus/alertmanager/alertmanager.initd b/prometheus/alertmanager/alertmanager.initd index 031e882..876bf1e 100644 --- a/prometheus/alertmanager/alertmanager.initd +++ b/prometheus/alertmanager/alertmanager.initd @@ -2,10 +2,10 @@ name="alertmanager" description="alert manager for the prometheus monitoring system" supervisor=supervise-daemon +supervise_daemon_args="-1 /var/log/alertmanager.log -2 /var/log/alertmanager.log" command=/usr/bin/alertmanager command_args="--config.file=$config_file \ --storage.path=$storage_path" -command_background=true command_user="prometheus:prometheus" pidfile="/run/${RC_SVCNAME}.pid" diff --git a/prometheus/prometheus/APKBUILD b/prometheus/prometheus/APKBUILD index 92216dd..68cc88c 100644 --- a/prometheus/prometheus/APKBUILD +++ b/prometheus/prometheus/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Drew DeVault pkgname=prometheus pkgver=2.9.1 -pkgrel=0 +pkgrel=1 pkgdesc="The Prometheus monitoring system and time series database" url="https://github.com/prometheus/prometheus" arch="all" @@ -52,4 +52,4 @@ package() { sha512sums="d9ae1078ab5b242020f00f5dfc154a75c3e1473be8f1fbecdf8f2589d55a09f8418cbf9aa189a9b2e61b4b5fca875735a26200496c02bb17793bbccbdc9f69cd prometheus-2.9.1.tar.gz 82f90ef730935b9dfc67877098ab0dcada0da941e273b241826b1e9bd2474202f2df5dd976dbed016652219cf0cfd1d77b8df72367ed1ac15c6f0cc38800cac5 prometheus.confd -f70555c76e634b7bf594e7b5f8a17e8a3a549b55835ce51f34f357e317c009d14cd4212bb9eaaddc77a1a9f03a33ab94571e3f9252f8ffcb002560e672a3cc9d prometheus.initd" +2a075f2c52cdaa7378fd903898609135fc04975a0cd9ee69e963cd0416d3eaf3cf09cb023717e378b0b398b0b43d52e0d4a4b7b582f8c3d9b35189a849f132c4 prometheus.initd" diff --git a/prometheus/prometheus/prometheus.initd b/prometheus/prometheus/prometheus.initd index 0fbbdae..902c14a 100644 --- a/prometheus/prometheus/prometheus.initd +++ b/prometheus/prometheus/prometheus.initd @@ -2,10 +2,10 @@ name="prometheus" description="prometheus monitoring system & time series database" supervisor=supervise-daemon +supervise_daemon_args="-1 /var/log/prometheus.log -2 /var/log/prometheus.log" command=/usr/bin/prometheus command_args="--config.file=$config_file \ --storage.tsdb.path=$storage_path" -command_background=true command_user="prometheus:prometheus" pidfile="/run/${RC_SVCNAME}.pid" -- 2.45.2