Lotusfier

This tool allows you to wrap a downstream service while fulfilling the Lotus
contract of listening on port 5000 and providing /liveness and /readiness
endpoints. Currently, the following signals are passed to the downstream
process: SIGIN, SIGKILL, SIGTERM and SIGHUP.
Install
$ go install git.sr.ht/~jcmuller/lotusfier@latest
or, via nix flakes
$ nix profile install 'sourcehut:~jcmuller/lotusfier'
Usage
$ lotusfier -addr http://localhost:8000/ -- python3 -mhttp.server
$ nix run 'sourcehut:~jcmuller/lotusfier/main' -- -addr http://localhost:8000/ -- python3 -mhttp.server
Roadmap
- Add custom downstream status check