Refactor into a client/server model, to enable multiple clients to access the BMS data
This commit is contained in:
13
bmspy-influxdb.service
Normal file
13
bmspy-influxdb.service
Normal file
@ -0,0 +1,13 @@
|
||||
[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
|
Reference in New Issue
Block a user