3.3 Invoking 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:

-s file

Send commands to the socket special file file. If this option is not specified, localstatedir/run/shepherd/socket is taken.