No description
  • Shell 75.7%
  • Dockerfile 24.3%
Find a file
paspo 12ef8b86dd
All checks were successful
Container Publish / build-image (push) Successful in 2m37s
update for s6
2026-05-12 15:32:16 +02:00
.forgejo/workflows container and CI upgrade 2026-05-11 00:08:34 +02:00
rootfs update for s6 2026-05-12 15:32:16 +02:00
config.json update for s6 2026-05-12 15:32:16 +02:00
Dockerfile update for s6 2026-05-12 15:32:16 +02:00
icon.png initial import 2021-09-14 16:05:06 +02:00
LICENSE initial import 2021-09-14 16:05:06 +02:00
logo.png initial import 2021-09-14 16:05:06 +02:00
README.md update for s6 2026-05-12 15:32:16 +02:00
renovate.json added renovate 2026-05-10 23:37:30 +02:00

Network UPS Tools - netclient

Network UPS Tools is used to connect to another machine running the same software. You just need to specify some connection parameters.

Runtime model

This add-on now runs with s6-rc services:

  • upsmon-config (oneshot) reads /data/options.json and writes /etc/nut/upsmon.conf, /etc/nut/upssched.conf, and /etc/nut/nut.conf.
  • upsmon-run (longrun) starts upsmon -D in foreground under s6 supervision.
  • SHUTDOWNCMD remains /shutdown.sh, which calls the Home Assistant Supervisor shutdown API.

Option note

  • delay is applied by upssched as the ONBATT shutdown timer in seconds.
  • ONBATT starts the timer, ONLINE cancels it, LOWBATT triggers immediate shutdown.

Verification checklist

  • Build image successfully.
  • Start container without s6-overlay-suexec: fatal: can only run as pid 1.
  • Confirm upsmon -D stays running and supervised.
  • Restart add-on and confirm /etc/nut/*.conf is regenerated from options.