bmspy/bmspy-influxdb.service

14 lines
300 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=BMS tracking via InfluxDB
Requires=bmspy-server.service
[Service]
Type=exec
WorkingDirectory=/usr/local/bmspy
ExecStart=poetry run bmspy-influxdb --url http://localhost/ --org 0987654321 --bucket bms --token XXXX
RestartSec=5
Restart=on-failure
[Install]
WantedBy=default.target