On Tue, 7 Dec 2021, Ken Brubacher wrote:
Working to get NUT setup in XCP NG v8 dom0Everything is working except my UPS won’t power down after the system shuts down. I’ve tried two different shutdown scripts in my init shutdown and neither seems to be working.
Do you use a systemd service unit to command the shutdown? Something like: # nut-delayed-ups-shutdown.service [Unit] Description=Initiate delayed UPS shutdown Before=umount.target DefaultDependencies=no [Service] Type=oneshot ExecStart=/usr/bin/logger -t nut-delayed-ups-shutdown\ "upsdrvctl shutting down UPS" ExecStart=/sbin/upsdrvctl shutdown # Debian [Install] WantedBy=final.target Has it been enabled? Roger
_______________________________________________ Nut-upsuser mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
