Pebble is a lightweight Linux service manager with layered configuration and an HTTP API
See the codeTake control of your internal daemons!
Pebble is a lightweight Linux service manager that helps you orchestrate a set of local processes as an organized set. It resembles well-known tools such as supervisord, runit, or s6, in that it can easily manage non-system processes independently from the system services. However, it was designed with unique features such as layered configuration and an HTTP API that help with more specific use cases.
Pebble's key features:
At any Linux shell:
go install github.com/canonical/pebble/cmd/pebble@latest
mkdir -p ~/.config/pebble/layers
export PEBBLE=$HOME/.config/pebble
echo """\
services:
demo-service:
override: replace
command: sleep 1000
startup: enabled
""" > $PEBBLE/layers/001-demo-service.yaml
pebble run
Read more about Pebble's general model here.
For a hands-on introduction to Pebble, we recommend going through the tutorial.
To get the most out of Pebble, we recommend starting with the documentation.
You can create an issue and we will help!
See HACKING.md for information on how to run and hack on the Pebble codebase during development. In short, use go run ./cmd/pebble.
We welcome quality external contributions. We have good unit tests for much of the code, and a thorough code review process. Please note that unless it's a trivial fix, it's generally worth opening an issue to discuss before submitting a pull request.
Before you contribute a pull request you should sign the Canonical contributor agreement -- it's the easiest way for you to give us permission to use your contributions.
(top 30 of 52)
Go
99.9%
Pebble is a lightweight Linux service manager with layered configuration and an HTTP API
See the codeTake control of your internal daemons!
Pebble is a lightweight Linux service manager that helps you orchestrate a set of local processes as an organized set. It resembles well-known tools such as supervisord, runit, or s6, in that it can easily manage non-system processes independently from the system services. However, it was designed with unique features such as layered configuration and an HTTP API that help with more specific use cases.
Pebble's key features:
At any Linux shell:
go install github.com/canonical/pebble/cmd/pebble@latest
mkdir -p ~/.config/pebble/layers
export PEBBLE=$HOME/.config/pebble
echo """\
services:
demo-service:
override: replace
command: sleep 1000
startup: enabled
""" > $PEBBLE/layers/001-demo-service.yaml
pebble run
Read more about Pebble's general model here.
For a hands-on introduction to Pebble, we recommend going through the tutorial.
To get the most out of Pebble, we recommend starting with the documentation.
You can create an issue and we will help!
See HACKING.md for information on how to run and hack on the Pebble codebase during development. In short, use go run ./cmd/pebble.
We welcome quality external contributions. We have good unit tests for much of the code, and a thorough code review process. Please note that unless it's a trivial fix, it's generally worth opening an issue to discuss before submitting a pull request.
Before you contribute a pull request you should sign the Canonical contributor agreement -- it's the easiest way for you to give us permission to use your contributions.
(top 30 of 52)
Go
99.9%