blob: 86d784eb0e24b8c74a665c901abfdb0566da7bf8 [file] [log] [blame]
Chicago Duan38802b22020-05-08 16:35:52 +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
7# /usr/bin/fp5280g2-psu-update /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0 /tmp/image/abcdefg
8
9[Unit]
10Description=Update PSU %I
11
12[Service]
13Type=oneshot
14RemainAfterExit=no
15Environment="ARGS=%I"
16ExecStart=/usr/bin/fp5280g2-psu-update $ARGS
17SyslogIdentifier=fp5280g2-psu-update