Proyek
Lihat di GitHub
mattn/goreman
Tentang
Klon Foreman yang ditulis dalam bahasa Go
Sistem dan infrastrukturPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +1
- dalam 15 hari
- +2
- dalam 1 bulan
- +1
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliGoreman
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)
Jelajahi proyek terkait
Memuat…