systemd: remove double braces
Previously these unit files were processed by pythons format() method,
so the double braces would be reduced to a single brace.
The unit files are no longer processed so the double braces are not
removed and break starting of the unit.
Tested:
From systemctl status phosphor-gpio-presence@0.service:
`-398 /usr/bin/phosphor-gpio-presence --path=/dev/input/by-path/platform-gpio-keys-event --inventory=/system/chassis/motherboard/powersupply0 --key=104 --name=powersupply0 --drivers=/sys/bus/i2c/drivers/ibm-cffps,3-0069 --extra-ifaces=xyz.openbmc_project.Inventory.Item.PowerSupply
Nov 01 19:28:33 witherspoon-Y230UF71K03T systemd[1]: Started Phosphor GPIO 0 Presence.
Nov 01 19:28:34 witherspoon-Y230UF71K03T phosphor-gpio-presence[398]: Updating inventory present property
Change-Id: Iacb29c8524152f87c676fd70227b076a6c84b877
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/phosphor-gpio-monitor@.service b/phosphor-gpio-monitor@.service
index c1846f8..02572a2 100644
--- a/phosphor-gpio-monitor@.service
+++ b/phosphor-gpio-monitor@.service
@@ -4,4 +4,4 @@
[Service]
Restart=no
EnvironmentFile=/etc/default/obmc/gpio/%I
-ExecStart=/usr/bin/phosphor-gpio-monitor --path=${{DEVPATH}} --key=${{KEY}} --polarity=${{POLARITY}} --target=${{TARGET}} ${{EXTRA_ARGS}}
+ExecStart=/usr/bin/phosphor-gpio-monitor --path=${DEVPATH} --key=${KEY} --polarity=${POLARITY} --target=${TARGET} ${EXTRA_ARGS}
diff --git a/phosphor-gpio-presence@.service b/phosphor-gpio-presence@.service
index fdb6654..5f806d9 100644
--- a/phosphor-gpio-presence@.service
+++ b/phosphor-gpio-presence@.service
@@ -6,7 +6,7 @@
[Service]
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}}
+ExecStart=/usr/bin/phosphor-gpio-presence --path=${DEVPATH} --inventory=${INVENTORY} --key=${KEY} --name=${NAME} --drivers=${DRIVERS} --extra-ifaces=${EXTRA_IFACES}
[Install]
RequiredBy=multi-user.target