Uninterruptible power supply: Difference between revisions

Tie-ling (talk | contribs)
environment var
Tie-ling (talk | contribs)
Delay UPS Shutdown: use nut statepath
Line 247: Line 247:
   systemd.services.nut-delayed-ups-shutdown = {
   systemd.services.nut-delayed-ups-shutdown = {
     environment = {
     environment = {
      # taken from output of $(systemctl cat upsd.service)
       NUT_CONFPATH = "/etc/nut";
       NUT_CONFPATH = "/etc/nut";
      NUT_STATEPATH = "/var/lib/nut";
     };
     };
     unitConfig = {
     unitConfig = {