On Wed, 23 Sep 2015 12:36:15 +0300 Antti Niemi <[email protected]>
wrote:
Hi,
> By default, NUT turns the UPS off when shutting down the system. This is
> apparently caused by the file /lib/systemd/system-shutdown/nutshutdown.
> Commenting out this file solves the problem, but I think this behavior
> shouldn't be enabled by default, for the following reasons:
>
> -It turns off the UPS even when rebooting - so the reboot fails.
>
> -Many users have other devices connected to the UPS and it's not always
> desired to turn them all off.
The UPS should only be shutdown only in case of power loss. Is it
happening to you at every reboot/shutdown?
Could you check if the /etc/killpower exits on your machine, if it's the
case could you try to delete it?
The fact that the UPS is shutdown _in case of powerloss_ is expected and
I don't think it's a good idea to change this. If you want to change
this, you can comment the POWERDOWNFLAG option in the
/etc/nut/upsmon.conf file.
Regards,
Laurent Bigonville