Commands Reference

Commands Reference

CommandDescription
bgrList all processes
bgr <name>Show process details
bgr --name <name> --directory <path> --command "<cmd>"Start new process
bgr <name> --restartRestart process
bgr --delete <name>Delete process
bgr --cleanRemove stopped processes
bgr --nukeDelete all processes
bgr --helpShow help

Options

OptionDescriptionDefault
--config <path>Config file path.config.toml
--forceForce restart running processfalse
--fetchPull latest git changesfalse
--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