summary refs log tree commit diff
path: root/nixos/modules/services/networking/consul.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/networking/consul.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/networking/consul.nix')
-rw-r--r--nixos/modules/services/networking/consul.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/consul.nix b/nixos/modules/services/networking/consul.nix
index 0e90fed788b..3a92a883fbf 100644
--- a/nixos/modules/services/networking/consul.nix
+++ b/nixos/modules/services/networking/consul.nix
@@ -185,7 +185,7 @@ in
           PermissionsStartOnly = true;
           User = if cfg.dropPrivileges then "consul" else null;
           Restart = "on-failure";
-          TimeoutStartSec = "0";
+          TimeoutStartSec = "infinity";
         } // (optionalAttrs (cfg.leaveOnStop) {
           ExecStop = "${cfg.package.bin}/bin/consul leave";
         });