How do I reboot with systemd?

How do I reboot with systemd?
Answer
In a systemd system, the command reboot -f will call
systemctl –force reboot.
target
. The –force option will let systemctl skip the system target and make the reboot() system call directly. We should use the -f option with caution because this may result in data loss.
 

Tìm kiếm

Back
Top