commit | 707c38c02777388cad53a37306361c72855446ce | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Thu Apr 07 16:23:47 2022 -0500 |
committer | Joel Stanley <joel@jms.id.au> | Mon May 02 09:04:49 2022 +0000 |
tree | c95ce39b383adf1dadb8f8e9730bea88297a7040 | |
parent | c1c2370ca17d8d10c50e00b024da411f63f3b952 [diff] |
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
diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service index 8a6f2bb..2988a4d 100644 --- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service +++ b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service
@@ -6,8 +6,7 @@ Conflicts=op-occ-enable@%i.service [Service] -ExecStart=/usr/bin/env occ-active.sh disable -SyslogIdentifier=occ-active.sh +ExecStart=/usr/bin/occ-active.sh disable Type=oneshot [Install]
diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service index b97253c..5431101 100644 --- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service +++ b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service
@@ -9,8 +9,7 @@ ConditionPathExists=/run/openbmc/host@%i-on [Service] -ExecStart=/usr/bin/env occ-active.sh enable -SyslogIdentifier=occ-active.sh +ExecStart=/usr/bin/occ-active.sh enable Type=oneshot [Install]
diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service index 77fb5d3..ff4129a 100644 --- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service +++ b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service
@@ -6,8 +6,7 @@ After=obmc-host-reset-running@0.target [Service] -ExecStart=/usr/bin/env openpower-occ-control -SyslogIdentifier=openpower-occ-control +ExecStart=/usr/bin/openpower-occ-control Restart=always Type=dbus BusName={BUSNAME}