1[Unit]
2Description=Read %I EEPROM
3Wants=mapper-wait@-xyz-openbmc_project-inventory.service
4After=mapper-wait@-xyz-openbmc_project-inventory.service
5StartLimitBurst=10
6
7[Service]
8Restart=on-failure
9Type=oneshot
10EnvironmentFile={envfiledir}/obmc/eeproms/%I
11ExecStartPre={bindir}/of-name-to-eeprom.sh {envfiledir}/obmc/eeproms/%I
12ExecStart=/usr/bin/env phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID
13SyslogIdentifier=phosphor-read-eeprom
14
15[Install]
16WantedBy=multi-user.target
17