summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-01-16 17:20:50 +0000
committerChristopher Baines <mail@cbaines.net>2016-01-16 20:54:48 +0000
commit4cc7518af449d2695ba001f05574137ba256f566 (patch)
treebd9ff2e78ed9fca6f9665ac800f84ec975f4fe6b
parent90af0f670ca8bd1a59391f6bd1ef45c5dda02e89 (diff)
downloadprometheus-pgbouncer-exporter-4cc7518af449d2695ba001f05574137ba256f566.tar
prometheus-pgbouncer-exporter-4cc7518af449d2695ba001f05574137ba256f566.tar.gz
Specify the correct licence location when installed
-rw-r--r--prometheus-pgbouncer-exporter.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/prometheus-pgbouncer-exporter.service b/prometheus-pgbouncer-exporter.service
index b95ab6c..c0f2c6d 100644
--- a/prometheus-pgbouncer-exporter.service
+++ b/prometheus-pgbouncer-exporter.service
@@ -5,6 +5,7 @@ After=pgbouncer.service
[Service]
User=postgres
+Environment='LICENCE_LOCATION=/usr/share/doc/prometheus-pgbouncer-exporter/copyright'
ExecStart=/usr/bin/prometheus-pgbouncer-exporter
[Install]