Hi there
NUT not always starting on reboot.
I have a common USB/Serial UPS connected via USB to my unRaid. Everything works just fine when NUT is running.
However, I have now finally learned that most UPS's seem to disconnect from USB if they do not get a connection within 20s or so, then they reconnect. This is why when testing in windows you hear the connect/disconnect sounds over and over. Once the UPS gets a connection from the software/service it stays connected.
My problem is that after a power failure or deliberate reboot, NUT is not guaranteed to be running because it tries once and if the UPS's 20s cyce is not in sync then NUT can't connect and does not start, but the UPS will connect again seconds later, but NUT does not try again.
Is there a way to force NUT to keep trying to start until it succeeds, or to try longer. My logs are filled with the UPS connecting/disconnecting, once NUT starts the logging stops.
Its just a timing thing between NUT and the UPS so if NUT just keeps trying it will connect.
Right now my server restarts after a power failure but is often then not protected cos NUT is stopped and the next power failure there is not graceful shutdown.
Grateful for any suggestions to get NUT to just try more than once to connect and start.
Regards
Jens