blob: 08e3c6e04e4e881fe0461f5f9ad018518a9d18e9 [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
# /bin/echo To 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=/bin/echo To update $ARGS
ExecStart=/bin/false