move defaults vars to defaults directory

This commit is contained in:
2021-09-30 12:25:21 +02:00
parent d94fefc0e3
commit 925f1a762d
6 changed files with 30 additions and 11 deletions

View File

@ -4,7 +4,7 @@ After=network.target
[Service]
Type=simple
User={{ prometheus_postgres_exporter_user|default("postgres") }}
User={{ prometheus_postgres_exporter_user }}
ExecStart=/usr/local/bin/prometheus-postgres-exporter
EnvironmentFile=/etc/default/prometheus-postgres-exporter