This commit is contained in:
Mario Fetka
2019-08-12 14:58:53 +02:00
parent 9763bd3a77
commit 5528fd31aa
6 changed files with 103 additions and 0 deletions

17
debian/service vendored Normal file
View File

@@ -0,0 +1,17 @@
# -*- 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