On debian stretch with systemd, it is possible to reboot using the systemd command systemctl kexec
.
Also, systemd handles all reboots:
# ls -l $(which reboot)
lrwxrwxrwx 1 root root 14 Jul 5 2017 /sbin/reboot -> /bin/systemctl
Because a reboot with full hardware re-initialization takes long and, more importantly, requires to input the crypto passphrase, I would rather always use kexec for reboots.
Is it possible to configure systemd in a way which uses kexec as the default reboot
mechanism? (Apart from replacing /sbin/reboot
)