ella
ella is a simple process manager for running and managing services.
Installation
- Arch Linux (AUR): available as
ella
- macOS (Homebrew):
brew install thekhanj/ella/ella
- Other platforms: download from GitHub releases
Build
Before building, install the required tools:
go install github.com/atombender/go-jsonschema@latest
go install golang.org/x/tools/cmd/stringer@latest
Then, to build and install:
make
sudo make install
Usage
Check help or man page:
ella -h
man ella
Run ella:
ella run [-c ella.json] [starting-services...]
Example Config (ella.json):
{
"$schema": "...",
"services": [
{
"name": "service1",
"process": {
"exec": "sh -c 'for i in $(seq 5); do echo \"service1 running $i\"; sleep 1; done'"
}
}
]
}
Manage services:
ella start [-c ella.json] [services...]
ella stop [-c ella.json] [services...]
ella restart [-c ella.json] [services...]
ella reload [-c ella.json] [services...]