change reload command for nomad that caused interrupt
This commit is contained in:
parent
5989395c9f
commit
a49374b227
@ -11,7 +11,7 @@ template {
|
|||||||
perms = 0700
|
perms = 0700
|
||||||
user = "{{ renew_nomad_certificates_nomad_user }}"
|
user = "{{ renew_nomad_certificates_nomad_user }}"
|
||||||
group = "{{ renew_nomad_certificates_nomad_group }}"
|
group = "{{ renew_nomad_certificates_nomad_group }}"
|
||||||
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_nomad_certificates_info['common_name'] }}\" && pkill -SIGHUP nomad '"
|
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_nomad_certificates_info['common_name'] }}\" && pkill -HUP nomad '"
|
||||||
}
|
}
|
||||||
|
|
||||||
template {
|
template {
|
||||||
@ -20,7 +20,7 @@ template {
|
|||||||
perms = 0700
|
perms = 0700
|
||||||
user = "{{ renew_nomad_certificates_nomad_user }}"
|
user = "{{ renew_nomad_certificates_nomad_user }}"
|
||||||
group = "{{ renew_nomad_certificates_nomad_group }}"
|
group = "{{ renew_nomad_certificates_nomad_group }}"
|
||||||
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_nomad_certificates_info['common_name'] }}\" && pkill -SIGHUP nomad '"
|
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_nomad_certificates_info['common_name'] }}\" && pkill -HUP nomad '"
|
||||||
}
|
}
|
||||||
|
|
||||||
template {
|
template {
|
||||||
@ -29,5 +29,5 @@ template {
|
|||||||
perms = 0700
|
perms = 0700
|
||||||
user = "{{ renew_nomad_certificates_nomad_user }}"
|
user = "{{ renew_nomad_certificates_nomad_user }}"
|
||||||
group = "{{ renew_nomad_certificates_nomad_group }}"
|
group = "{{ renew_nomad_certificates_nomad_group }}"
|
||||||
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_nomad_certificates_info['common_name'] }}\" && pkill -SIGHUP nomad '"
|
command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_nomad_certificates_info['common_name'] }}\" && pkill -HUP nomad '"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user