os-nut configuration and shutdown

Started by bruceg, April 19, 2023, 08:38:14 PM

Previous topic - Next topic
I have configured os-nut on my router with a connected UPS, and it appears to be working fine (at least, I am getting diagnostics on my UPS from the UI and there are listening sockets open).

However, the help text for enabling nut states:
QuoteEnable or disable the nut service. If enabled, the system will shutdown when the UPS emits a low battery warning.
I would like to enable nut but not have it shutdown my router automatically on low battery for a couple of reasons, most notably to avoid the power-restored-while-shutting-down race condition.

Is there any way to enable nut and not have it automatically shutdown the system?