diff options
author | Matt Spinler <spinler@us.ibm.com> | 2022-04-08 00:23:47 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2022-05-02 12:04:49 +0300 |
commit | 707c38c02777388cad53a37306361c72855446ce (patch) | |
tree | c95ce39b383adf1dadb8f8e9730bea88297a7040 /meta-openpower/recipes-phosphor/debug/openpower-debug-collector | |
parent | c1c2370ca17d8d10c50e00b024da411f63f3b952 (diff) | |
download | openbmc-707c38c02777388cad53a37306361c72855446ce.tar.xz |
meta-openpower: Use proper paths in service files
Using /usr/bin/env is an antipattern.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I6b4f647a10fd8c261e2b42cfdae030749ded7c29
Diffstat (limited to 'meta-openpower/recipes-phosphor/debug/openpower-debug-collector')
3 files changed, 3 insertions, 6 deletions
diff --git a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service index 5e8cf3dcdb..bac565bc11 100644 --- a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service +++ b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service @@ -7,7 +7,6 @@ Before=obmc-host-quiesce@%i.target # before processing checkstop. OCC has to wait 5 seconds # for our driver to stop using the SBEFIFO. ExecStart={base_bindir}/sleep 10 -ExecStart=/usr/bin/env checkstop_app -SyslogIdentifier=checkstop_app +ExecStart=/usr/bin/checkstop_app Type=oneshot Restart=no diff --git a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-watchdog-timeout@.service b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-watchdog-timeout@.service index 55ba40351c..4f9870f38b 100644 --- a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-watchdog-timeout@.service +++ b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-watchdog-timeout@.service @@ -3,7 +3,6 @@ Description=OpenPOWER debug data collector for host %I watchdog timeout Before=obmc-host-quiesce@%i.target [Service] -ExecStart=/usr/bin/env openpower-proc-control collectSBEHBData -SyslogIdentifier=openpower-proc-control +ExecStart=/usr/bin/openpower-proc-control collectSBEHBData Type=oneshot Restart=no diff --git a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-watchdog@.service b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-watchdog@.service index 6826764ff7..ca4e4af92f 100644 --- a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-watchdog@.service +++ b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-watchdog@.service @@ -4,7 +4,6 @@ Before=obmc-host-quiesce@%i.target After=op-stop-instructions@%i.service [Service] -ExecStart=/usr/bin/env watchdog_timeout -SyslogIdentifier=watchdog_timeout +ExecStart=/usr/bin/watchdog_timeout Type=oneshot Restart=no |