Add UPS functionality
This commit is contained in:
13
bmspy-ups.service
Normal file
13
bmspy-ups.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=UPS monitoring for BMS
|
||||
Requires=bmspy-server.service
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
WorkingDirectory=/usr/local/bmspy
|
||||
ExecStart=poetry run bmspy-ups
|
||||
RestartSec=5
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Reference in New Issue
Block a user