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 5447e0ecb2
commit bc776aa258
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/