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/host/op-host-control | |
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/host/op-host-control')
-rw-r--r-- | meta-openpower/recipes-phosphor/host/op-host-control/cfam_override@.service | 3 | ||||
-rw-r--r-- | meta-openpower/recipes-phosphor/host/op-host-control/start_host@.service | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/meta-openpower/recipes-phosphor/host/op-host-control/cfam_override@.service b/meta-openpower/recipes-phosphor/host/op-host-control/cfam_override@.service index 8b773ec385..5f7cac7c05 100644 --- a/meta-openpower/recipes-phosphor/host/op-host-control/cfam_override@.service +++ b/meta-openpower/recipes-phosphor/host/op-host-control/cfam_override@.service @@ -12,8 +12,7 @@ ConditionPathExists=!/run/openbmc/chassis@%i-on ConditionPathExists=/var/lib/obmc/cfam_overrides [Service] -ExecStart=/usr/bin/env openpower-proc-control CFAMOverride -SyslogIdentifier=openpower-proc-control +ExecStart=/usr/bin/openpower-proc-control CFAMOverride Type=oneshot RemainAfterExit=yes diff --git a/meta-openpower/recipes-phosphor/host/op-host-control/start_host@.service b/meta-openpower/recipes-phosphor/host/op-host-control/start_host@.service index aa12be3258..bfe8dbe5e5 100644 --- a/meta-openpower/recipes-phosphor/host/op-host-control/start_host@.service +++ b/meta-openpower/recipes-phosphor/host/op-host-control/start_host@.service @@ -12,8 +12,7 @@ ConditionPathExists=!/run/openbmc/host@%i-on ConditionPathExists=!/run/openbmc/mpreboot@%i [Service] -ExecStart=/usr/bin/env openpower-proc-control startHost -SyslogIdentifier=openpower-proc-control +ExecStart=/usr/bin/openpower-proc-control startHost Type=oneshot RemainAfterExit=yes |