different user for starting the process

This commit is contained in:
Ludovic Cartier committed 2021-10-29 18:26:59 +02:00
1 parent cce16b3e98
commit 6e060e5ab0
2 files changed
+2 -1

No files matched your search

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