Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattn/goreman
foreman clone written in go language
https://github.com/mattn/goreman
devops foreman go golang
Last synced: 20 days ago
JSON representation
foreman clone written in go language
- Host: GitHub
- URL: https://github.com/mattn/goreman
- Owner: mattn
- License: mit
- Created: 2012-09-13T06:22:59.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-02-20T15:51:19.000Z (9 months ago)
- Last Synced: 2024-10-01T18:21:11.714Z (about 1 month ago)
- Topics: devops, foreman, go, golang
- Language: Go
- Size: 1.18 MB
- Stars: 2,481
- Watchers: 48
- Forks: 195
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- stars - mattn/goreman
- awesome-golang-repositories - goreman
- awesome-starred - mattn/goreman - foreman clone written in go language (golang)
README
# 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`](_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](images/design.png)
## Authors
Yasuhiro Matsumoto (a.k.a mattn)