William A. Kennington III | 82de478 | 2020-06-01 15:29:29 -0700 | [diff] [blame] | 1 | [Unit] |
2 | Description=Commit image for update and reboot | ||||
3 | |||||
4 | [Service] | ||||
5 | Type=oneshot | ||||
6 | ExecStart=/bin/mv /run/initramfs/bmc-image-verified /run/initramfs/image-bmc | ||||
7 | # This command is intentionally blocking to ensure this unit doesn't complete | ||||
8 | # before the BMC reboots. | ||||
9 | ExecStart=/usr/bin/systemctl start --job-mode=replace-irreversibly reboot.target |