treewide: systemd timeout arguments to use infinity instead of 0 (#50934)

Fixes https://github.com/NixOS/nixpkgs/issues/49700
This commit is contained in:
Craig Younkins
2018-11-25 13:33:22 +01:00
committed by zimbatm
parent 377e0e9b0f
commit eff461c8ef
5 changed files with 8 additions and 8 deletions
@@ -180,7 +180,7 @@ in
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.apcupsd}/bin/apcupsd --killpower -f ${configFile}";
TimeoutSec = 0;
TimeoutSec = "infinity";
StandardOutput = "tty";
RemainAfterExit = "yes";
};