Skip to content
essentialkaosPublic

About

Bash lib for SysV init scripts

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

168 Commits

Folders and files

GitHub Actions CI Status

Documentation • Examples • Common mistakes • CI Status • License


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.

CI Status

Branch Status
master CI
develop CI

License

Apache License, Version 2.0

About

Bash lib for SysV init scripts

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages