[Unit] | |
Description=Phosphor Hwmon Poller | |
ConditionFileNotEmpty=/etc/default/obmc/hwmon/%I.conf | |
After=xyz.openbmc_project.ObjectMapper.service | |
[Service] | |
Restart=on-failure | |
ExecStart=/usr/bin/phosphor-hwmon-readd -i ${HW_SENSOR_ID} -o %I | |
SyslogIdentifier=phosphor-hwmon-readd | |
EnvironmentFile=/etc/default/obmc/hwmon/%I.conf |