Previous: , Up: herd and shepherd   [Contents][Index]

3.4 Invoking halt

The halt command is a convenience client program to instruct the Shepherd (when used as an init system) to stop all running services and turn off the system. It has the following synopsis:

halt [option…]

It is equivalent to running herd power-off shepherd. As usual, the halt 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.