presence: fix systemd unit syntax error
26373ab Add systemd units for monitor and presence
added system units for the monitor and presence applications, but that
patch does not remove the special {envfiledir} replacement token that
exists in the original unit file. Replace with the actual path.
Change-Id: Ib51f30edb45d6186ea3890783f0f3430d3c184ea
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/phosphor-gpio-presence@.service b/phosphor-gpio-presence@.service
index 6f05371..fdb6654 100644
--- a/phosphor-gpio-presence@.service
+++ b/phosphor-gpio-presence@.service
@@ -5,7 +5,7 @@
ConditionPathExists=/etc/default/obmc/gpio/phosphor-power-supply-%i.conf
[Service]
-EnvironmentFile={envfiledir}/obmc/gpio/phosphor-power-supply-%i.conf
+EnvironmentFile=/etc/default/obmc/gpio/phosphor-power-supply-%i.conf
ExecStart=/usr/bin/phosphor-gpio-presence --path=${{DEVPATH}} --inventory=${{INVENTORY}} --key=${{KEY}} --name=${{NAME}} --drivers=${{DRIVERS}} --extra-ifaces=${{EXTRA_IFACES}}
[Install]