Hivectl provides functionality to start, stop, and restart cells as background processes. It automatically handles pidfile creation. It is primarily designed for use by init systems. It must be run as root.
In order for this tool to work, each cell must:
- Be an executable located somewhere in root's PATH
- Be named
hlhv-<cell name>
- Have an associated system user of that same name
- Have full access to a directory called
/var/log/hlhv/<cell name>
hivectl <Command> [-h|--help] [-p|--pidfile "<value>"] [-c|-cell "<value>"]
start
: Start a cellstop
: Stop a cellrestart
: Restart a cellstatus
: Display cell status
-h|--help
: Print help information-p|--pidfile
: Specify the location the pidfile. Defaults to a file namedhlhv-<cell name>.pid
located at/run
-c|--cell
: The cell to control. Default:queen