[systemd-devel] Run "ipmitool power cycle" after lib/systemd/system-shutdown scripts
Etienne Champetier
champetier.etienne at gmail.com
Wed Feb 9 21:05:55 UTC 2022
Hello systemd hackers,
After flashing the firmware of some pcie card I need to power cycle
the server to finish the flashing process.
For now I have a simple script in lib/systemd/system-shutdown/ running
"ipmitool power cycle" but I would like to make sure it runs after
other scripts like fwupd.shutdown or mdadm.shutdown
Is there any way to have systemd cleanly power cycle my server instead
of rebooting it ?
pidwait would have been great but it doesn't seems to be available in EL8
Thanks in advance
Etienne
More information about the systemd-devel
mailing list