elhaz daemon status¶
Synopsis¶
elhaz daemon status
Description¶
Report whether the elhaz daemon is currently reachable on its UNIX socket.
If the daemon is running, the command prints a confirmation and the socket path,
then exits with code 0. If the daemon is not running, it exits with code 1.
The non-zero exit code makes status useful in shell scripts and &&
chains.
Options¶
--helpShow help message and exit.
Examples¶
Check whether the daemon is running:
elhaz daemon status
Use in a shell conditional:
elhaz daemon status || elhaz daemon start