mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 00:28:05 +02:00
Update to 2023-07-05 19:00
This commit is contained in:
@@ -3,6 +3,10 @@ Description="HashiCorp Consul - A service mesh solution"
|
||||
Documentation=https://www.consul.io/
|
||||
Requires=network-online.target
|
||||
After=network-online.target
|
||||
After=consul-vault-agent.service
|
||||
{% if consul_vault_agent.vault_address is defined and consul_vault_agent.pki.enabled %}
|
||||
Requires=consul-vault-agent.service
|
||||
{% endif %}
|
||||
ConditionFileNotEmpty={{ consul_root_dir }}/etc/consul.hcl
|
||||
|
||||
# Consul version {{ consul_current_version }}
|
||||
@@ -11,7 +15,7 @@ Type=notify
|
||||
EnvironmentFile=-{{ consul_root_dir }}/etc/consul.env
|
||||
User={{ consul_user }}
|
||||
Group={{ consul_user }}
|
||||
ExecStart=/usr/local/bin/consul agent -config-dir={{ consul_root_dir }}/etc/
|
||||
ExecStart={{ consul_root_dir }}/bin/consul
|
||||
ExecReload=/bin/kill --signal HUP $MAINPID
|
||||
SuccessExitStatus=1
|
||||
Restart=on-failure
|
||||
|
Reference in New Issue
Block a user