Tim Lee | f7fc57b | 2020-06-18 09:28:26 +0800 | [diff] [blame] | 1 | [Unit] |
2 | Description=Init PSU Inventory for PSU %I | ||||
3 | Wants=mapper-wait@-xyz-openbmc_project-inventory.service | ||||
4 | After=mapper-wait@-xyz-openbmc_project-inventory.service | ||||
5 | |||||
6 | [Service] | ||||
7 | ExecStart=/usr/bin/first-boot-set-psu.sh %i | ||||
8 | RemainAfterExit=yes | ||||
9 | SyslogIdentifier=first-boot-set-psu | ||||
10 | Restart=on-failure | ||||
11 | RestartSec=20 | ||||
12 | |||||
13 | [Install] | ||||
14 | WantedBy=multi-user.target |