summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service')
-rw-r--r--meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service b/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service
index c426c445d7..f062fc9c8c 100644
--- a/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service
+++ b/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service
@@ -7,5 +7,5 @@ After=obmc-fan-control.target
[Service]
Type=oneshot
Restart=no
-ExecStart=/usr/bin/env mapper call /org/openbmc/control/fans org.openbmc.control.Fans setMax
-SyslogIdentifier=mapper
+ExecStart=/bin/sh -c "busctl call `mapper get-service /org/openbmc/control/fans` /org/openbmc/control/fans org.openbmc.control.Fans setMax"
+SyslogIdentifier=obmc-max-fans