From 8639499346f401716439dcbe9acf0f8a3381e44f Mon Sep 17 00:00:00 2001 From: Rich Braun Date: Mon, 21 Aug 2023 13:30:51 -0700 Subject: [PATCH] Issue #119 - fix NAME parameter in nut-upsd --- images/nut-upsd/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/nut-upsd/Dockerfile b/images/nut-upsd/Dockerfile index 3957ce01..61096244 100644 --- a/images/nut-upsd/Dockerfile +++ b/images/nut-upsd/Dockerfile @@ -22,7 +22,7 @@ ENV API_USER=upsmon \ SERVER=master \ USER=nut \ VENDORID= -HEALTHCHECK CMD upsc ups@localhost:3493 2>&1|grep -q stale && exit 1 || true +HEALTHCHECK CMD upsc $$NAME@localhost:3493 2>&1|grep -q stale && exit 1 || true RUN apk add --update nut=$NUT_VERSION \ libcrypto1.1 libssl1.1 libusb musl net-snmp-libs