Refactor into a client/server model, to enable multiple clients to access the BMS data

This commit is contained in:
2024-04-29 18:41:41 +02:00
parent 81fa555402
commit dab791fb79
9 changed files with 747 additions and 341 deletions

14
bmspy-server.service Normal file
View File

@ -0,0 +1,14 @@
[Unit]
Description=Make BMS data available for consumers
[Service]
Type=exec
# The full path of the git repo on your system
WorkingDirectory=/usr/local/bmspy
ExecStart=poetry run bmspy-server
RestartSec=5
Restart=on-failure
[Install]
WantedBy=default.target