blob: e88547524b77e7f5ea37e65954bfe6ff9b09e438 [file] [log] [blame]
George Liu6d775e62021-10-26 10:44:30 +08001[Unit]
2Description=FW Code Update via USB %I
3BindsTo=dev-%i.device
4After=dev-%i.device
5Wants=xyz.openbmc_project.Software.Version.service
6After=xyz.openbmc_project.Software.Version.service
7Wants=xyz.openbmc_project.Software.BMC.Updater.service
8After=xyz.openbmc_project.Software.BMC.Updater.service
9
10[Service]
11Restart=no
12ExecStart=/usr/bin/phosphor-usb-code-update --device %i
13Type=simple
14RemainAfterExit=yes