项目
在 GitHub 查看
mattn/goreman
关于
用 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)
探索相关项目
加载中…