cmd

command module
v0.0.0-...-71dc257 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Overseer cli app

Small command line application that receives a YAML config file with processes and manages them.

Usage

LOG=* overseer start -c config.yml

Options

Each process can have the following options:

  • cmd - the command to execute. The first word from the command is the executable, the rest are args.
  • cwd - the working directory of the command
  • env - the runtime environment for the command
  • delay - delay in Millisecond applied before each run or restart (in case of failure). The overseer uses an exponential backoff, so this will increase with each restart.
  • retry - the number of retries in case of failure. The default is 0 - no retries.

Config example:

app1:
  cmd: ping localhost -c 5
  delay: 10
  retry: 5

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