From dac049e54c2ff1194fe956a846c905047c074254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Sun, 24 Jan 2021 21:51:38 +0100 Subject: [PATCH] Fix accidentally broken service file --- .SRCINFO | 2 +- PKGBUILD | 2 +- prometheus-postgresql-exporter.service | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index c47dfd3..6b63f71 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = prometheus-postgresql-exporter pkgdesc = Prometheus exporter for PostrgreSQL pkgver = 0.8.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/wrouesnel/postgres_exporter arch = x86_64 license = Apache diff --git a/PKGBUILD b/PKGBUILD index 640133f..75170b6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=prometheus-postgresql-exporter pkgver=0.8.0 -pkgrel=2 +pkgrel=3 pkgdesc="Prometheus exporter for PostrgreSQL" arch=('x86_64') url="https://github.com/wrouesnel/postgres_exporter" diff --git a/prometheus-postgresql-exporter.service b/prometheus-postgresql-exporter.service index f519e72..9c045e1 100644 --- a/prometheus-postgresql-exporter.service +++ b/prometheus-postgresql-exporter.service @@ -2,6 +2,7 @@ Description=Prometheus exporter for PostgreSQL After=network.target +[Service] EnvironmentFile=-/etc/conf.d/prometheus-postgresql-exporter ExecStart=/usr/bin/prometheus_postgresql_exporter $POSTGRES_EXPORTER_ARGS Restart=on-failure