Matthew Barth | 8921e37 | 2019-04-12 13:43:18 -0500 | [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}} ${{WATER}} ${{DEVICE}} ${{CODE}} |
Matthew Barth | 8921e37 | 2019-04-12 13:43:18 -0500 | [diff] [blame] | 12 | |
| 13 | [Install] |
| 14 | RequiredBy=multi-user.target |