File: prometheus-sql-exporter.service

package info (click to toggle)
prometheus-sql-exporter 0.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 600 kB
  • sloc: makefile: 47; sh: 31
file content (16 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Prometheus exporter for sql metrics
Documentation=https://github.com/credativ/sql_exporter
ConditionPathExists=/etc/prometheus-sql-exporter.yml

[Service]
Restart=always
User=postgres
EnvironmentFile=-/etc/default/prometheus-sql-exporter
ExecStart=/usr/bin/prometheus-sql-exporter $ARGS
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=20s
SendSIGKILL=no

[Install]
WantedBy=multi-user.target