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.service10
1 files changed, 10 insertions, 0 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
new file mode 100644
index 0000000000..ad0db5cd34
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Set Fans to Maximum
+Wants=mapper-wait@-org-openbmc-control-fans.service
+After=mapper-wait@-org-openbmc-control-fans.service
+After=obmc-fan-control.target
+
+[Service]
+Type=oneshot
+Restart=no
+ExecStart={sbindir}/mapper call /org/openbmc/control/fans org.openbmc.control.Fans setMax