prometheus-pushgateway/debian/service
Mario Fetka 5528fd31aa Bump
2019-08-12 14:58:53 +02:00

18 lines
364 B
Plaintext

# -*- 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