プロジェクト
概要
Go 言語で書かれた foreman のクローン
システム・インフラ計測したスター増加
- 24時間
- 0
- 7日間
- +1
- 15日間
- +2
- 1か月
- +1
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルGoreman
Clone of foreman written in golang.
https://github.com/ddollar/foreman
Getting Started
go install github.com/mattn/goreman@latest
Usage
goreman 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.
- 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...].

Authors
Yasuhiro Matsumoto (a.k.a mattn)
関連プロジェクトを探す
読み込み中…