TrueNAScore 13.0 UPS commands

Howdy, folks!
My TrueNAS 13.0 is set to shut down upon loss of power to the UPS. Is there a way to set TrueNAS to restart after the UPS is back on main power?
Thanks, all

That would be a setting in the bios of your motherboard describing what happens when power is returned. The default often is “last state” — so if machine was shut down when power was lost it stays off.

If there isn’t any or you can’t change it — you can configure upsd to halt the system instead of shutting down.

In either case ensure there is sufficient offdelay — NUT is designed for Linux where by the time shutdown command finishes filesystem is remounted readonly. This is not the case for FreeBSD, and default offdelay may be insufficient for clean shutdown.