File: pgbackrest_exporter.service.template

package info (click to toggle)
prometheus-pgbackrest-exporter 0.20.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 476 kB
  • sloc: makefile: 152; sh: 141
file content (13 lines) | stat: -rw-r--r-- 323 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=pgbackrest_exporter

[Service]
Type=simple
Environment="ARGS=--web.telemetry-path=/metrics --web.listen-address=:9854 --collect.interval=600"
EnvironmentFile=-/etc/default/pgbackrest_exporter
ExecStart=/usr/bin/pgbackrest_exporter $ARGS
Restart=always
RestartSec=5s

[Install]
WantedBy=multi-user.target