nomad-template either....

This commit is contained in:
Bertrand Lanson 2023-05-03 21:08:10 +02:00
parent eed6383b3a
commit 2dd1a9a9e3

View File

@ -7,7 +7,7 @@ ConditionFileNotEmpty={{ renew_nomad_certificates_config_dir }}/nomad_config.hcl
[Service]
User={{ renew_nomad_certificates_nomad_user }}
Group={{ renew_nomad_certificates_nomad_group }}
ExecStart=/usr/bin/nomad-template $OPTIONS -config={{ renew_nomad_certificates_config_dir }}/nomad_config.hcl
ExecStart=/usr/bin/consul-template $OPTIONS -config={{ renew_nomad_certificates_config_dir }}/nomad_config.hcl
ExecReload=/bin/kill --signal HUP $MAINPID
KillSignal=SIGINT
Restart=on-failure