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
+1 -1
View File
@@ -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";
});