[systemd-devel] machinectl poweroff: wait until shutdown is done

Joel GUITTET jguittet.opensource at witekio.com
Mon Aug 5 15:27:46 UTC 2024


Hello
Is there a way when using "machinectl poweroff <name>" to wait until the container is effectively totally stopped ? So that the following command after machinectl poweroff can be executed safely (in my case un-mounting the rootfs, cleaning iptables rules etc etc).
Thanks
Joel

 




More information about the systemd-devel mailing list