summaryrefslogtreecommitdiffstats
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.service3
1 files changed, 2 insertions, 1 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 ad0db5cd3..c426c445d 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,4 +7,5 @@ After=obmc-fan-control.target
[Service]
Type=oneshot
Restart=no
-ExecStart={sbindir}/mapper call /org/openbmc/control/fans org.openbmc.control.Fans setMax
+ExecStart=/usr/bin/env mapper call /org/openbmc/control/fans org.openbmc.control.Fans setMax
+SyslogIdentifier=mapper
OpenPOWER on IntegriCloud