Skip to content

Releases: ableinc/lights

Lights v1.0.0

15 May 23:46
Compare
Choose a tag to compare

Lights. Camera. Action

A very lightweight process manager.

Refer to README for features.

Originally written to execute bun server over same port.

Add To PATH (Using .zshrc for this example)

  1. Download and extract lights*-tar.gz
  2. Move directory to $HOME
.lights/
  |-- bin/
    |-- lights
  1. Add to PATH:
export LIGHTS_INSTALL="$HOME/.lights"
export PATH="$LIGHTS_INSTALL/bin:$PATH"
  1. Reload profile
source ~/.zshrc
  1. Test
dev@M2-Air % lights
Usage: lights [options]
Options:
  -action string
    	Whether to run the lights ON or OFF (start or stop processes).
  -binary string
    	Binary to execute process (default "bun")
  -cameras int
    	Number of processes to run based on number of CPUs on machine. (default 1)
  -name string
    	Name of the process
  -process string
    	Process to execute