reboot
¶The reboot
command is a convenience client program to instruct
the Shepherd (when used as an init system) to stop all running services and
reboot the system. It has the following synopsis:
reboot [option...]
It is equivalent to running herd stop shepherd
. The
reboot
command understands the following option:
Send commands to the socket special file file. If this option is not specified, localstatedir/run/shepherd/socket is taken.
Reboot the system using Linux’s kexec (this is equivalent to running
herd kexec root
). The kernel that was previously loaded using
the kexec -l file
command is executed directly instead
of rebooting into the BIOS, keeping the downtime to a minimum. See the
kexec
command
documentation for more information.
This feature is only available on Linux-based systems.