The UPS configuration generated by FreeNAS Scale (21.02) includes an incorrect shutdown command:
The "-p" flag should be an uppercase "-P" (see: man shutdown). Unless users have manually set the shutdown command, this silently places their data at risk.
There is no way the UPS service has been tested in Scale (yet)!
System debug already attached to