I got around this by creating (and of course doing chmod +x on) a script at /lib/systemd/system-shutdown/apcups-killpower
#!/bin/sh if [ "$1" = "poweroff" -a -f /etc/apcupsd/powerfail ]; then /etc/apcupsd/apccontrol killpower fi
Idea from https://wiki.archlinux.org/index.php/APC_UPS#Make_apcupsd_kill_UPS_power_once_the_hibernate_is_done (with credit to djgera https://bbs.archlinux.org/viewtopic.php?pid=1354737#p1354737 and fsateler https://github.com/systemd/systemd/issues/4894#issuecomment-267372354)
I got around this by creating (and of course doing chmod +x on) a script at /lib/systemd/ system- shutdown/ apcups- killpower
#!/bin/sh powerfail ]; then apcupsd/ apccontrol killpower
if [ "$1" = "poweroff" -a -f /etc/apcupsd/
/etc/
fi
Idea from https:/ /wiki.archlinux .org/index. php/APC_ UPS#Make_ apcupsd_ kill_UPS_ power_once_ the_hibernate_ is_done /bbs.archlinux. org/viewtopic. php?pid= 1354737# p1354737 and fsateler https:/ /github. com/systemd/ systemd/ issues/ 4894#issuecomme nt-267372354)
(with credit to djgera https:/