diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory')
-rw-r--r-- | meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service b/meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service new file mode 100644 index 0000000000..0e294a1896 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/chassis/obmc-mgr-inventory/obmc-sync-inventory-item@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Sync %I + +[Service] +Restart=no +Type=oneshot +EnvironmentFile={envfiledir}/obmc/sync_inventory_item/%I +ExecStart=/usr/bin/env sync_inventory_items.py -p ${{PROPERTY}} -s $SYNC_TYPE +SyslogIdentifier=sync_inventory_items.py + +[Install] +WantedBy={SYSTEMD_DEFAULT_TARGET} |