Brad Bishop | 1d34ddd | 2017-08-01 21:33:30 -0400 | [diff] [blame] | 1 | [Unit] |
2 | Description=Phosphor MAX31785 MSL | ||||
3 | ConditionFileNotEmpty={envfiledir}/obmc/hwmon-max31785/%I.conf | ||||
4 | Wants=mapper-wait@-xyz-openbmc_project-inventory.service | ||||
5 | After=mapper-wait@-xyz-openbmc_project-inventory.service | ||||
6 | |||||
7 | [Service] | ||||
8 | Type=oneshot | ||||
9 | ExecStart={bindir}/max31785-msl -p "${{PATHS}}" -b ${{BUS}} -r ${{REVISION}} | ||||
10 | EnvironmentFile={envfiledir}/obmc/hwmon-max31785/%I.conf |