Ben_Pai | 949f914 | 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 |
| 11 | ExecStart=/usr/bin/env phosphor-cooling-type ${{OBJPATH}} ${{AIR}} |
| 12 | SyslogIdentifier=phosphor-cooling-type |
| 13 | |
| 14 | [Install] |
| 15 | RequiredBy=multi-user.target |