blob: 2fc30838aca48453d0d0b55ccdbc22090d529e0d [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Read %I EEPROM
Patrick Ventured61c4c22017-04-11 14:03:49 -07003Wants=mapper-wait@-xyz-openbmc_project-inventory.service
4After=mapper-wait@-xyz-openbmc_project-inventory.service
William A. Kennington III5be2cca2020-05-08 13:39:41 -07005StartLimitBurst=10
Brad Bishop3c90f592016-08-08 08:53:13 -04006
7[Service]
William A. Kennington III5be2cca2020-05-08 13:39:41 -07008Restart=on-failure
Brad Bishop3c90f592016-08-08 08:53:13 -04009Type=oneshot
10EnvironmentFile={envfiledir}/obmc/eeproms/%I
William A. Kennington III1eada362020-03-30 12:03:28 -070011ExecStartPre={bindir}/of-name-to-eeprom.sh {envfiledir}/obmc/eeproms/%I
Michael Tritzfbd81be2017-08-15 14:07:23 -050012ExecStart=/usr/bin/env phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID
13SyslogIdentifier=phosphor-read-eeprom
Brad Bishop3c90f592016-08-08 08:53:13 -040014
15[Install]
Patrick Ventured607cfb2019-04-04 12:15:22 -070016WantedBy=multi-user.target