From 24e38797c4bb2ade559ee85a916d4a92f11aff56 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Fri, 5 May 2023 21:53:45 +0200 Subject: [PATCH] do not use reload because ACLs --- templates/consul_config.hcl.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/consul_config.hcl.j2 b/templates/consul_config.hcl.j2 index cf34570..1077711 100644 --- a/templates/consul_config.hcl.j2 +++ b/templates/consul_config.hcl.j2 @@ -11,7 +11,7 @@ template { perms = 0700 user = "{{ renew_consul_certificates_consul_user }}" group = "{{ renew_consul_certificates_consul_group }}" - command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && consul reload '" + command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && pkill -SIGHUP consul '" } template { @@ -20,7 +20,7 @@ template { perms = 0700 user = "{{ renew_consul_certificates_consul_user }}" group = "{{ renew_consul_certificates_consul_group }}" - command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && consul reload '" + command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && pkill -SIGHUP consul '" } template { @@ -29,5 +29,5 @@ template { perms = 0700 user = "{{ renew_consul_certificates_consul_user }}" group = "{{ renew_consul_certificates_consul_group }}" - command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && consul reload '" + command = "sh -c 'echo \"$(date) Update certificate and key file for {{ renew_consul_certificates_info['common_name'] }}\" && pkill -SIGHUP consul '" }