We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c50d5 commit 899443cCopy full SHA for 899443c
templates/client.hcl.j2
@@ -8,7 +8,7 @@ client {
8
servers = [
9
{%- set comma = joiner(",") -%}
10
{%- for server in nomad_servers -%}
11
- {{ comma() }}"{{ hostvars[server]['nomad_advertise_address'] | ipwrap }}"
+ {{ comma() }}"{{ hostvars[server]['nomad_advertise_address'] | ipwrap }}:{{ nomad_ports.rpc }}"
12
{%- endfor -%} ]
13
{% endif %}
14
templates/nomad_systemd.service.j2
@@ -26,8 +26,8 @@ KillMode=process
26
KillSignal=SIGINT
27
LimitNOFILE=infinity
28
LimitNPROC=infinity
29
-Restart=on-failure
30
-RestartSec=42s
+Restart=always
+RestartSec=120
31
{% if systemd_version.stdout is version('226', '>=') %}
32
TasksMax=infinity
33
0 commit comments