@bamyasi thanks for your efforts. You saved my day.
I have found it's better to use more robust code for `nutshutdown` script, like 
in the official nut repo: 
https://github.com/networkupstools/nut/blob/master/scripts/systemd/nutshutdown.in.
 That code handles several issues like when ups doesn't turn off the load 
immediately (probably depends on "ups.delay.shutdown" value) or when it gets 
power during shutdown process and forgets about shutdown request.

Also 1 year has passed since bug report and this issue is still not
fixed. I have checked zesty/artful releases and I don't see a shutdown
script there too (https://packages.ubuntu.com/artful/amd64/nut-
server/filelist), while I see it in a Debian package
(https://packages.debian.org/jessie/amd64/nut-server/filelist) that was
used as a base for Ubuntu ones. So load shutdown on low power should not
work for all ubuntu 16.04+.

If I'm right, the latest merge was done by louis.bouch...@ubuntu.com.
Maybe he can clarify this issue?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1603609

Title:
  systemd shutdown script missing, causing UPS killpower processing to
  be skipped

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/1603609/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to