Brandon Wyman | c50a8c4 | 2017-04-28 18:26:45 -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}/phosphor-cooling-type-%i.conf |
| 6 | |
| 7 | [Service] |
Brandon Wyman | 5b42b74 | 2017-06-09 17:50:42 -0500 | [diff] [blame^] | 8 | EnvironmentFile={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf |
Brandon Wyman | c50a8c4 | 2017-04-28 18:26:45 -0500 | [diff] [blame] | 9 | ExecStart={sbindir}/phosphor-cooling-type ${{OBJPATH}} ${{AIR}} ${{WATER}} ${{DEVICE}} ${{CODE}} |
| 10 | |
| 11 | [Install] |
| 12 | RequiredBy={SYSTEMD_DEFAULT_TARGET} |