blob: 06635beda69eea6edb8f6a715c84d1fcda913a17 [file] [log] [blame]
# This service shall be started with two arguments:
# * The PSU inventory DBus object
# * The path of the PSU images
# E.g.
# "psu-update@-xyz-openbmc_project-inventory-system-chassis-motherboard-powersupply0\x20-tmp-image-abcdefg.service"
# expands to
# /usr/bin/psutils --update /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0 /tmp/image/abcdefg
[Unit]
Description=Update PSU %I
[Service]
Type=oneshot
RemainAfterExit=no
Environment="ARGS=%I"
ExecStart=/usr/bin/psutils --update $ARGS
SyslogIdentifier=psutils