summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2018-04-19 13:56:05 +0800
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-04-24 23:44:43 +0000
commit67ae1b1056d9c18af98ba29d8651a4b7d3dc461a (patch)
tree6c71fc6e57c2d816d5fa1374148c8cd4e2488cbb /meta-phosphor
parentcc54a04446397bf9823e17f01622b8cfae83b102 (diff)
downloadtalos-openbmc-67ae1b1056d9c18af98ba29d8651a4b7d3dc461a.tar.gz
talos-openbmc-67ae1b1056d9c18af98ba29d8651a4b7d3dc461a.zip
phosphor-gpio-monitor: Add EXTRA_ARGS in service
This is a follow up commit of 1065559c, that is to use ${EXTRA_ARGS} instead of "--continue=", so that this option becomes an optional one without argument. For services need extra arguments, e.g. Romulus' id-button service, specify "--continue" in its config file. Tested: Verify the generated gpio monitor service uses ${EXTRA_ARGS} environment. On Romulus, checkstop monitor starts without extra argument, and id_button monitor starts with --continue argument. Change-Id: I09c5ad7f97f1a40caabfc9ae394e68798396dffe Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-monitor@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-monitor@.service b/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-monitor@.service
index 63f88a1f5..8d0f4cd5b 100644
--- a/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-monitor@.service
+++ b/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-monitor@.service
@@ -4,5 +4,5 @@ Description=Phosphor GPIO %I monitor
[Service]
Restart=no
EnvironmentFile={envfiledir}/obmc/gpio/%I
-ExecStart=/usr/bin/env phosphor-gpio-monitor --path=${{DEVPATH}} --key=${{KEY}} --polarity=${{POLARITY}} --target=${{TARGET}} --continue=${{CONTINUE}}
+ExecStart=/usr/bin/env phosphor-gpio-monitor --path=${{DEVPATH}} --key=${{KEY}} --polarity=${{POLARITY}} --target=${{TARGET}} ${{EXTRA_ARGS}}
SyslogIdentifier=phosphor-gpio-monitor
OpenPOWER on IntegriCloud