mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
nixos/ups: run killpower driver as root (#552701)
This commit is contained in:
@@ -679,7 +679,7 @@ in
|
||||
environment = envVars;
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${cfg.package}/bin/upsdrvctl shutdown";
|
||||
ExecStart = "${cfg.package}/bin/upsdrvctl -u root shutdown";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user