Ben_Pai | fba5121 | 2019-08-05 18:34:34 +0800 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Phosphor Cooling Type |
| 3 | Wants=mapper-wait@-xyz-openbmc_project-inventory.service |
| 4 | After=mapper-wait@-xyz-openbmc_project-inventory.service |
| 5 | ConditionPathExists={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf |
| 6 | |
| 7 | [Service] |
| 8 | Type=oneshot |
| 9 | RemainAfterExit=yes |
| 10 | EnvironmentFile={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf |
Matt Spinler | 0b59034 | 2022-04-07 16:10:17 -0500 | [diff] [blame] | 11 | ExecStart=/usr/bin/phosphor-cooling-type ${{OBJPATH}} ${{AIR}} |
Ben_Pai | fba5121 | 2019-08-05 18:34:34 +0800 | [diff] [blame] | 12 | |
| 13 | [Install] |
| 14 | RequiredBy=multi-user.target |