From 707c38c02777388cad53a37306361c72855446ce Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Thu, 7 Apr 2022 16:23:47 -0500 Subject: meta-openpower: Use proper paths in service files Using /usr/bin/env is an antipattern. Signed-off-by: Matt Spinler Change-Id: I6b4f647a10fd8c261e2b42cfdae030749ded7c29 --- .../recipes-phosphor/host/op-host-control/cfam_override@.service | 3 +-- .../recipes-phosphor/host/op-host-control/start_host@.service | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'meta-openpower/recipes-phosphor/host') 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 -- cgit v1.2.3