On Feb 2, 2018, at 8:07 AM, Roger Price wrote:
>> # check to see if we need to actually shutdown the UPS then do it
>> /usr/sbin/upsmon -K >/dev/null 2>&1 && /usr/sbin/upsdrvctl shutdown
> I don't have NUT + systemd + CentOS/RHEL, but I'm confused by your script.
> "upsdrvctl" is a front end to your driver. You are sending a command via
> upsdrvctl and via your driver _after_ you have stopped the driver? And it
"upsdrvctl shutdown" does not talk to the running driver - it starts a new copy
with the "-k" flag to kill power.
Nut-upsuser mailing list