summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-google/acpi-power-state/acpi-power-state-daemon/gbs-host-s5-set-failsafe.service
blob: 2c0f3bcccde48137bf8e3dc0a70f53deae132b81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Decrease GBS fan failsafe speed on host shutdown
PartOf=host-s5-state.target
Requires=phosphor-pid-control.service
After=phosphor-pid-control.service
Wants=mapper-wait@-xyz-openbmc_project-settings-fanctrl.service
After=mapper-wait@-xyz-openbmc_project-settings-fanctrl.service

[Service]
Type=oneshot
# 102: 40% duty cycle
ExecStart=/usr/bin/gbs-set-failsafe.sh 102

[Install]
WantedBy=host-s5-state.target