riju/packer/prometheus.service

14 lines
224 B
Desktop File

[Unit]
Description=Prometheus
StartLimitBurst=5
StartLimitIntervalSec=300
[Service]
Type=exec
ExecStart=prometheus --config.file /etc/prometheus/config.yaml
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target