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/networking/consul.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/services/networking/consul.nix') 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"; }); -- cgit 1.4.1