Skip to content

essentialkaos/kaosv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GitHub Actions CI Status

DocumentationExamplesCommon mistakesBuild StatusLicense


kaosv is bash lib for SysV init scripts.

Documentation

KAOSv contain inline documentation in shdoc format.

Documentation for latest version can be found here. Also you can use SHDoc utility for viewing inline docs in your console.

Examples

Common mistakes

Checking the system environment before executing kv.go

You should define a pre-start handler with disabled output redirect and perform system check in this handler (example).

The script doesn't run application and return a non-zero exit code

All handlers must always return action status code (ACTION_OK, ACTION_ERROR, ACTION_FORCED) otherwise it can be exit code from the last command performed in this handler.

Build Status

Branch Status
master CI
develop CI

License

Apache License, Version 2.0