1[Unit]
2Description=Phosphor Hwmon Poller
3ConditionFileNotEmpty=/etc/default/obmc/hwmon/%I.conf
4After=xyz.openbmc_project.ObjectMapper.service
5
6[Service]
7Restart=on-failure
8ExecStart=/usr/bin/env phosphor-hwmon-readd -i ${HW_SENSOR_ID} -o %I
9SyslogIdentifier=phosphor-hwmon-readd
10EnvironmentFile=/etc/default/obmc/hwmon/%I.conf
11