[Nut-upsuser] upsdrvctl shutdown isn't powering down UPS
    Roger Price 
    roger at rogerprice.org
       
    Wed Dec  8 13:17:00 GMT 2021
    
    
  
On Tue, 7 Dec 2021, Ken Brubacher wrote:
> Working to get NUT setup in XCP NG v8 dom0
> 
> Everything 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
    
    
More information about the Nut-upsuser
mailing list