Don't kill service if envfile isn't present

This commit is contained in:
Michele Degges 2022-01-24 12:13:14 -08:00
parent 7d4d7ab785
commit 282b662641
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ After=network-online.target
ConditionFileNotEmpty=/etc/consul.d/consul.hcl
[Service]
EnvironmentFile=/etc/consul.d/consul.env
EnvironmentFile=-/etc/consul.d/consul.env
User=consul
Group=consul
ExecStart=/usr/bin/consul agent -config-dir=/etc/consul.d/