19 lines
378 B
SYSTEMD
19 lines
378 B
SYSTEMD
|
|
# -*- 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=always
|
||
|
|
LimitNOFILE=65536
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|