Skip to content

GNITOAHC/processq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Processq

Production Release

Sometimes we want to run a service or a task in the background, but writing a systemd configuration or using Docker is overkill when all we need is a simple, long-running daemon. This is where queue steps in. It runs processes in the background and provides straightforward commands to manage them.

Installation

Quick Install

curl -LsSf https://raw.githubusercontent.com/GNITOAHC/processq/main/install.sh | sh

or using wget:

wget -qO- https://raw.githubusercontent.com/GNITOAHC/processq/main/install.sh | sh

Homebrew

brew tap gnitoahc/tap
brew install gnitoahc/tap/queue

Pre-built binaries

Pre-built binaries are also available on the releases page.

Usage

Usage: queue [flags] <command>

Flags:
  -h, --help            Show this help message
  -v, --version         Enable verbose output

Commands:
  submit, sub, s     Submit a task
  list, l, ls        List all running processes
  stop, t, x         Stop a running process
  restart, r         Restart a running process

Test

sh compile.sh && ./bin/main submit "bash test.sh"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors