nixos/consul: Don't timeout if start job has many retries
This commit is contained in:
parent
56908ab49f
commit
681ae2fa7f
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ in
|
|||
ExecReload = "${pkgs.consul}/bin/consul reload";
|
||||
PermissionsStartOnly = true;
|
||||
User = if cfg.dropPrivileges then "consul" else null;
|
||||
TimeoutStartSec = "${toString (20 + (3 * cfg.joinRetries))}s";
|
||||
} // (optionalAttrs (cfg.leaveOnStop) {
|
||||
ExecStop = "${pkgs.consul}/bin/consul leave";
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue