[Nut-upsuser] UPS Shutdown

Jeff Bowman jeff.bowman at intexx.com
Thu Oct 6 03:29:53 UTC 2016


> The "upsdrvctl shutdown" command is designed to be run late in the shutdown
> sequence, and has to be run after the rest of NUT (drivers, upsd, etc) has
> been stopped. It does, in fact, restart the driver with the "-k" option to
> kill the UPS rather than monitor it. (If I understand Roger's diagram,
> systemd invokes the "upsdrvctl shutdown" after most of the other processes
> have been stopped.)

OK, I see.



> There are also ways to send shutdown commands to a running driver with
> "upscmd", which is useful for scenarios other than "shutdown and return when
> the power returns".
> 
> http://networkupstools.org/docs/man/upscmd.html

I think that's going to be what I'm looking for.

Thanks,
Jeff Bowman
Fairbanks, Alaska




More information about the Nut-upsuser mailing list