From bc776aa258ad99a6e69dc4bc5b28663254908b40 Mon Sep 17 00:00:00 2001 From: Michele Degges Date: Mon, 24 Jan 2022 12:13:14 -0800 Subject: [PATCH] Don't kill service if envfile isn't present --- .release/linux/package/usr/lib/systemd/system/consul.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.release/linux/package/usr/lib/systemd/system/consul.service b/.release/linux/package/usr/lib/systemd/system/consul.service index bde1210aa..1bbf51a7a 100644 --- a/.release/linux/package/usr/lib/systemd/system/consul.service +++ b/.release/linux/package/usr/lib/systemd/system/consul.service @@ -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/