No description
- Shell 75.7%
- Dockerfile 24.3%
|
All checks were successful
Container Publish / build-image (push) Successful in 2m37s
|
||
|---|---|---|
| .forgejo/workflows | ||
| rootfs | ||
| config.json | ||
| Dockerfile | ||
| icon.png | ||
| LICENSE | ||
| logo.png | ||
| README.md | ||
| renovate.json | ||
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.jsonand writes/etc/nut/upsmon.conf,/etc/nut/upssched.conf, and/etc/nut/nut.conf.upsmon-run(longrun) startsupsmon -Din foreground unders6supervision.SHUTDOWNCMDremains/shutdown.sh, which calls the Home Assistant Supervisor shutdown API.
Option note
delayis applied byupsschedas 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 -Dstays running and supervised. - Restart add-on and confirm
/etc/nut/*.confis regenerated from options.