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 |
Brandon Wyman | 1cac4cd | 2017-06-12 14:37:27 -0500 | [diff] [blame] | 5 | ConditionPathExists={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf |
Brandon Wyman | c50a8c4 | 2017-04-28 18:26:45 -0500 | [diff] [blame] | 6 | |
| 7 | [Service] |
Matt Spinler | 2739f60 | 2018-04-25 10:35:14 -0500 | [diff] [blame] | 8 | Type=oneshot |
| 9 | RemainAfterExit=yes |
Brandon Wyman | 5b42b74 | 2017-06-09 17:50:42 -0500 | [diff] [blame] | 10 | EnvironmentFile={envfiledir}/obmc/phosphor-fan/phosphor-cooling-type-%i.conf |
Michael Tritz | 0ad3b1d | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 11 | ExecStart=/usr/bin/env phosphor-cooling-type ${{OBJPATH}} ${{AIR}} ${{WATER}} ${{DEVICE}} ${{CODE}} |
| 12 | SyslogIdentifier=phosphor-cooling-type |
Brandon Wyman | c50a8c4 | 2017-04-28 18:26:45 -0500 | [diff] [blame] | 13 | |
| 14 | [Install] |
| 15 | RequiredBy={SYSTEMD_DEFAULT_TARGET} |