Name the device in the bmspy-ups service file

bmspy-ups needs --device if the server reads more than one device. The service file now starts it with --device network.
This commit is contained in:
tim
2026-10-10 10:59:35 +02:00
parent ca641fdda8
commit ec4d824153
+2 -2
View File
@@ -7,8 +7,8 @@ Type=exec
WorkingDirectory=/usr/local/bmspy
# Send each log line to the journal at once.
Environment=PYTHONUNBUFFERED=1
# Add --device NAME if bmspy-server reads more than one device.
ExecStart=uv run --no-sync bmspy-ups
# The device name is necessary if bmspy-server reads more than one device.
ExecStart=uv run --no-sync bmspy-ups --device network
RestartSec=5
Restart=on-failure
# Status 2 is a wrong option or device name. A restart cannot fix it.