From eff461c8ef17210cfd7cf50fe8c057f581663436 Mon Sep 17 00:00:00 2001 From: Craig Younkins Date: Sun, 25 Nov 2018 07:33:22 -0500 Subject: treewide: systemd timeout arguments to use infinity instead of 0 (#50934) Fixes https://github.com/NixOS/nixpkgs/issues/49700 --- nixos/modules/services/monitoring/apcupsd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/services/monitoring/apcupsd.nix') diff --git a/nixos/modules/services/monitoring/apcupsd.nix b/nixos/modules/services/monitoring/apcupsd.nix index 839116de626..7ee870183ca 100644 --- a/nixos/modules/services/monitoring/apcupsd.nix +++ b/nixos/modules/services/monitoring/apcupsd.nix @@ -180,7 +180,7 @@ in serviceConfig = { Type = "oneshot"; ExecStart = "${pkgs.apcupsd}/bin/apcupsd --killpower -f ${configFile}"; - TimeoutSec = 0; + TimeoutSec = "infinity"; StandardOutput = "tty"; RemainAfterExit = "yes"; }; -- cgit 1.4.1