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