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