summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/apcupsd.nix
diff options
context:
space:
mode:
authorCraig Younkins <cyounkins@gmail.com>2018-11-25 07:33:22 -0500
committerzimbatm <zimbatm@zimbatm.com>2018-11-25 13:33:22 +0100
commiteff461c8ef17210cfd7cf50fe8c057f581663436 (patch)
tree8278422459bf71346864c644812ccf09001fabca /nixos/modules/services/monitoring/apcupsd.nix
parent377e0e9b0fd01f3415ed21620a7913521e693600 (diff)
downloadnixpkgs-eff461c8ef17210cfd7cf50fe8c057f581663436.tar
nixpkgs-eff461c8ef17210cfd7cf50fe8c057f581663436.tar.gz
nixpkgs-eff461c8ef17210cfd7cf50fe8c057f581663436.tar.bz2
nixpkgs-eff461c8ef17210cfd7cf50fe8c057f581663436.tar.lz
nixpkgs-eff461c8ef17210cfd7cf50fe8c057f581663436.tar.xz
nixpkgs-eff461c8ef17210cfd7cf50fe8c057f581663436.tar.zst
nixpkgs-eff461c8ef17210cfd7cf50fe8c057f581663436.zip
treewide: systemd timeout arguments to use infinity instead of 0 (#50934)
Fixes https://github.com/NixOS/nixpkgs/issues/49700
Diffstat (limited to 'nixos/modules/services/monitoring/apcupsd.nix')
-rw-r--r--nixos/modules/services/monitoring/apcupsd.nix2
1 files changed, 1 insertions, 1 deletions
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";
       };