Documentation ¶
Index ¶
- Constants
- func Command(ctx context.Context, args ...string) error
- func Disable(ctx context.Context, id string) error
- func Enable(ctx context.Context, id string) error
- func Install() error
- func Remove() error
- func Start(ctx context.Context, id string) error
- func Stop(ctx context.Context, id string) error
Constants ¶
View Source
const ( // Root to install the service file Root = "/lib/systemd/system" // Version is an incrementing version of the service file used. // increment it if you need a new one to be used over the previous // and handle the code for making sure the previous one is able to stop containers Version = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.