Skip to content
forked from mattn/goreman

foreman clone written in go language; forled from goreman, embeddable!

License

Notifications You must be signed in to change notification settings

chaos-plus/procman

This branch is 8 commits ahead of mattn/goreman:master.

Repository files navigation

procman

Getting Started

go install github.com/chaos-plus/procman@latest

Usage

procman start

Will start all commands defined in the Procfile and display their outputs. Any signals are forwarded to each process.

Example

See _example directory

License

MIT

Design

The main goroutine loads Procfile and starts each command in the file. Afterwards, it is driven by the following two kinds of events, and then take proper action against the managed processes.

  1. It receives a signal, which could be one of SIGINT, SIGTERM, and SIGHUP;
  2. It receives an RPC call, which is triggered by the command goreman run COMMAND [PROCESS...].

design

About

foreman clone written in go language; forled from goreman, embeddable!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 94.4%
  • Makefile 4.4%
  • Other 1.2%