blob: 08e3c6e04e4e881fe0461f5f9ad018518a9d18e9 [file] [log] [blame]
Lei YU12c9f4c2019-09-11 15:08:15 +08001# This service shall be started with two arguments:
2# * The PSU inventory DBus object
3# * The path of the PSU images
4# E.g.
5# "psu-update@-xyz-openbmc_project-inventory-system-chassis-motherboard-powersupply0\x20-tmp-image-abcdefg.service"
6# expands to
Lei YU617c0b72020-02-10 16:11:47 +08007# /bin/echo To update /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0 /tmp/image/abcdefg
Lei YU12c9f4c2019-09-11 15:08:15 +08008
9[Unit]
10Description=Update PSU %I
11
12[Service]
13Type=oneshot
14RemainAfterExit=no
15Environment="ARGS=%I"
Lei YU617c0b72020-02-10 16:11:47 +080016ExecStart=/bin/echo To update $ARGS
17ExecStart=/bin/false