Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.12 KB

File metadata and controls

51 lines (37 loc) · 1.12 KB

proccie

A process manager that runs and supervises multiple processes, like overmind / foreman, with an enhanced Procfile format adding dependencies, readiness checks, retries, per-process env and log files, and color-coded output. On a terminal it opens an interactive TUI — a tabbed, searchable log viewer with one tab per process, plus per-service stop and restart.

Install

cargo install --git https://github.com/KieranP/proccie

Or build from source:

git clone https://github.com/KieranP/proccie.git
cd proccie
make install   # or: cargo install --path .

Usage

Create a Procfile.toml in your project root:

[db]
command                    = "postgres -D /usr/local/var/postgres"
readiness.shell.cmd        = "pg_isready -q"
readiness.shell.exit_codes = [0]

[web]
command    = "bin/rails server -p 3000"
depends_on = ["db"]

Then run:

proccie

See USAGE.md for all CLI flags, keyboard commands, and shutdown behavior, and CONFIG.md for the config file format.

License

MIT