nutdrvctl
-
[ ] simple wrapper around upsdrctl+nur-scanner -U (1rst implem)
-
[ ] or new thing to handle better usb scan + user overrides (for cheap units) and manually added units (2nd implem)?
-
[ ] nutdrvctl systemd unit (.service) should monitor ups.conf and auto reload (for manual additions esp.)
Notes: simply launching the USB driver with udev RUN may cause instabilities (repetitive USB disconnection / reconnection). Using nutdrvctl can safeguard the configuration (inc. addition, update, deletion) and restart according to real updates, not transient events. Also, a nutdrvctl (either this new or the historic upsdrvctl) is needed for starting the manually added drivers
Just in case, note there is now also an upsdrvsvcctl which emulates upsdrvctl CLI API as much as possible, to implement handling of systemd/SMF wrapped units for NUT drivers made with nut-driver-enumerator.
Also there was a branch with some nutconf tooling, waiting to get looked at and to integrate into NUT upstream...
Also note NDE as it already reacts to ups.conf changes.