sproc-0.1.1 is not a library.
Visit the last successful build:
sproc-0.5.6
sproc
Sproc is a simplified process manager that uses a composable configuration file to manage multiple services.
Config
Services are defined in Sproc using a simple services.toml file (passed into Sproc using the pin command).
[]
= "example --a b" # required
= "/home/example" # required
[] # optional
= "42"
You can inherit the services defined in other files using the inherit field. Inherited service files cannot expose an inherit field.
= ["/path/to/other/services.toml", "/path/to/other/other/services.toml"]
[]
# ...
Usage
Load config file:
Start service:
Start all services:
Stop a service:
Stop all services:
Get running service info:
Get info about all running services: