Commands Reference
Command | Description |
---|---|
bgr | List all processes |
bgr <name> | Show process details |
bgr --name <name> --directory <path> --command "<cmd>" | Start new process |
bgr <name> --restart | Restart process |
bgr --delete <name> | Delete process |
bgr --clean | Remove stopped processes |
bgr --nuke | Delete all processes |
bgr --help | Show help |
Options
Option | Description | Default |
---|---|---|
--config <path> | Config file path | .config.toml |
--force | Force restart running process | false |
--fetch | Pull latest git changes | false |
--stdout <path> | Custom stdout log path | ~/.bgr/<name>-out.txt |
--stderr <path> | Custom stderr log path | ~/.bgr/<name>-err.txt |
--db <path> | Custom database path | ~/.bgr/bgr.sqlite |