prometheus-pushgateway/debian/service

18 lines
364 B
Plaintext
Raw Normal View History

2019-08-12 14:58:53 +02:00
# -*- mode: conf -*-
[Unit]
Description=Prometheus Pushgateway.
Documentation=https://github.com/prometheus/pushgateway
After=network.target
[Service]
EnvironmentFile=-/etc/default/pushgateway
User=prometheus
ExecStart=/usr/bin/pushgateway \
$PUSHGATEWAY_OPTS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
[Install]
WantedBy=multi-user.target