instantlinux / docker-tools

Docker tools for developer productivity & entertainment
Apache License 2.0
268 stars 90 forks source link

nut-upsd healthcheck does not work #119

Closed Alarez777 closed 1 year ago

Alarez777 commented 1 year ago

The healthcheck does not work in the nut-upsd container when the NAME environment variable is changed. It seems that the problem is in docker-tools/images/nut-upsd/dockerfile in this line because the $NAME variable is not considered: HEALTHCHECK CMD upsc ups@localhost:3493 2>&1|grep -q stale && exit 1 || true

instantlinux commented 1 year ago

This fix is now available, please pull the latest or 2.8.0-r4 tag.