Lei YU | 897ecfe | 2018-01-17 15:09:09 +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] |
Lei YU | fdd8f7b | 2019-05-24 13:44:01 +0800 | [diff] [blame] | 8 | Type=oneshot |
| 9 | RemainAfterExit=yes |
Lei YU | 897ecfe | 2018-01-17 15:09:09 +0800 | [diff] [blame] | 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] |
Patrick Venture | 85cff8c | 2019-04-04 13:06:43 -0700 | [diff] [blame] | 15 | RequiredBy=multi-user.target |