File: service

package info (click to toggle)
prometheus-redis-exporter 1.45.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 728 kB
  • sloc: makefile: 106; sh: 101
file content (15 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Prometheus exporter for Redis metrics
Documentation=https://github.com/oliver006/redis_exporter man:prometheus-redis-exporter(1)

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

[Install]
WantedBy=multi-user.target