hivectl

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 9 Imported by: 0

README

hivectl

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

Usage

hivectl <Command> [-h|--help] [-p|--pidfile "<value>"] [-c|-cell "<value>"]

Commands
  • start: Start a cell
  • stop: Stop a cell
  • restart: Restart a cell
  • status: Display cell status
Arguments
  • -h|--help: Print help information
  • -p|--pidfile: Specify the location the pidfile. Defaults to a file named hlhv-<cell name>.pid located at /run
  • -c|--cell: The cell to control. Default: queen

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL