sproc 0.1.0

Simple service management
sproc-0.1.0 is not a library.
Visit the last successful build: sproc-0.5.6

sproc

Sproc is a simplified process manager that is designed to act as an interface for running simple services that aren't expected to exit.

Config

Services are defined in Sproc using a simple services.toml file (passed into Sproc using the pin command).

[services.example]
command = "example --a b"           # required
working_directory = "/home/example" # required

  [services.example.environment]    # optional
  EXAMPLE_ENV_VAR = "42"

Usage

Load config file:

sproc pin {path}

Start service:

sproc run {name}

Start all services:

sproc run-all

Stop a service:

sproc kill {name}

Stop all services:

sproc kill-all

Get running service info:

sproc info {name}

Get info about all running services:

sproc info-all