Skip to content

Commit

Permalink
[CLOUD-419] Add service lookup target as dependency to consul (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
kouzant authored Feb 28, 2023
1 parent 749a751 commit 2a2a422
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/default/init/consul.service.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[Unit]
Description="HashiCorp Consul - A service mesh solution"
Documentation=https://www.consul.io/
Wants=nss-lookup.target nss-user-lookup.target
Requires=network-online.target
After=network-online.target
After=network-online.target nss-lookup.target nss-user-lookup.target
ConditionFileNotEmpty=<%= node['consul']['conf_dir'] %>/consul.hcl
StartLimitIntervalSec=30
StartLimitBurst=20
Expand Down

0 comments on commit 2a2a422

Please sign in to comment.