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