Documentation • Examples • Common mistakes • CI Status • License
kaosv
is bash lib for SysV init scripts.
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.
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.
Branch | Status |
---|---|
master |
|
develop |