package
0.3.0
Repository: https://github.com/tuxgal/picoinit.git
Documentation: pkg.go.dev

# Functions

NewInit instantiates a Pico Init/Service Manager combo, performs the necessary initialization for the init responsibilities, launches the pre-hook (if one was specified) and launches the specified list of services.

# Structs

Hook represents the command/script that will be invoked by Init prior to launching the services.
InitConfig is the configuration used by Init.
Service represents the service that will be managed by Init.

# Interfaces

Init manages init responsibility in a system (by reaping processes which get parented to pid 1), and allows launching/managing services (including forwarding signals to them from the process where Init is running).