diff options
author | Lei YU <mine260309@gmail.com> | 2018-04-19 08:56:05 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-04-25 02:44:43 +0300 |
commit | 67ae1b1056d9c18af98ba29d8651a4b7d3dc461a (patch) | |
tree | 6c71fc6e57c2d816d5fa1374148c8cd4e2488cbb /meta-phosphor/common/recipes-phosphor/gpio | |
parent | cc54a04446397bf9823e17f01622b8cfae83b102 (diff) | |
download | openbmc-67ae1b1056d9c18af98ba29d8651a4b7d3dc461a.tar.xz |
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/common/recipes-phosphor/gpio')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor/phosphor-gpio-monitor@.service | 2 |
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 |