go-process-controller

module
v0.0.0-...-ee14c80 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT

README

go-process-controller

A simple implementation to start, monitor, restart and stop processes as defined from a config file.

This has been tested under Windows only. Since it uses some Windows specifics (e.g. killing processes), it will certainly only work under Windows as tested.

Features

  • Allows to write an example configuration file (JSON) with correct structure
  • Reads from a configuration file about which processes it shall start and monitor
  • Logging with rotating logs, and configurable max file size
  • Launching and monitoring processes
    • Run and wait for it to finish with timeout
    • Run without window (hidden)
    • Redirect stdout and stderr to logiles
    • allow to restart a process if it terminates with max retries

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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