Commit 30aa6b71 authored by Rhys's avatar Rhys Committed by Bjørn Forsman
Browse files

nixos/ups: remove Slice from UPS shutdown service

system-ups.slice conflicts with shutdown.target, so
ups-killpower.service is never queued at shutdown.
The slice isn't doing anything; removing it is a simple fix.
parent 5ee9ed6c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -680,7 +680,6 @@ in
      serviceConfig = {
        Type = "oneshot";
        ExecStart = "${cfg.package}/bin/upsdrvctl shutdown";
        Slice = "system-ups.slice";
      };
    };