Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame^] | 1 | [Unit] |
2 | Description=Sync %I | ||||
3 | Wants=obmc-read-eeprom@%i.service | ||||
4 | After=obmc-read-eeprom@%i.service | ||||
5 | |||||
6 | [Service] | ||||
7 | Restart=no | ||||
8 | Type=oneshot | ||||
9 | EnvironmentFile={envfiledir}/obmc/sync_inventory_item/%I | ||||
10 | ExecStart={sbindir}/sync_inventory_items.py -t $FRU_TYPE -n $FRU_NAME -p ${{PROPERTY}} -s $SYNC_TYPE | ||||
11 | |||||
12 | [Install] | ||||
13 | WantedBy={SYSTEMD_DEFAULT_TARGET} |