bme680-homekit/prometheus/prometheus.service

17 lines
No EOL
456 B
Desktop File

[Unit]
Description=Prometheus Server
Documentation=https://prometheus.io/docs/introduction/overview/
After=network-online.target
[Service]
Restart=on-failure
RestartSec=5s
User=pi
Restart=on-failure
ExecStart=/home/pi/bme680-homekit/prometheus/prometheus-2.36.1.linux-armv6/prometheus \
--config.file=/home/pi/bme680-homekit/prometheus/prometheus.yml \
--storage.tsdb.path=/home/pi/bme680-homekit/prometheus/data
[Install]
WantedBy=multi-user.target