pushgateway/pushgateway.service
2021-07-31 16:49:26 +08:00

19 lines
378 B
Desktop File

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