From ec4d824153eaff0dab21155ae6e5795c720e3e0a Mon Sep 17 00:00:00 2001 From: Timothy Allen Date: Sat, 10 Oct 2026 10:59:35 +0200 Subject: [PATCH] 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. --- bmspy-ups.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bmspy-ups.service b/bmspy-ups.service index aba2963..f87429c 100644 --- a/bmspy-ups.service +++ b/bmspy-ups.service @@ -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.