Clone of foreman written in golang.
https://github.com/ddollar/foreman
go install github.com/mattn/goreman@latest
goreman start
Will start all commands defined in the Procfile
and display their outputs.
Any signals are forwarded to each process.
See _example
directory
MIT
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.
- It receives a signal, which could be one of
SIGINT
,SIGTERM
, andSIGHUP
; - It receives an RPC call, which is triggered by the command
goreman run COMMAND [PROCESS...]
.
Yasuhiro Matsumoto (a.k.a mattn)