{"id":21480912,"url":"https://github.com/essentialkaos/kaosv","last_synced_at":"2025-07-04T18:09:07.903Z","repository":{"id":40390371,"uuid":"48038483","full_name":"essentialkaos/kaosv","owner":"essentialkaos","description":"Bash lib for SysV init scripts","archived":false,"fork":false,"pushed_at":"2024-12-16T12:35:05.000Z","size":162,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T10:01:32.460Z","etag":null,"topics":["initrd","initscript","sysv"],"latest_commit_sha":null,"homepage":"https://kaos.sh/kaosv","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/essentialkaos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-15T11:24:26.000Z","updated_at":"2024-06-16T12:16:16.000Z","dependencies_parsed_at":"2023-02-18T00:10:17.717Z","dependency_job_id":"9116b7af-2663-4c19-b0ef-b035b4381f82","html_url":"https://github.com/essentialkaos/kaosv","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/essentialkaos/kaosv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fkaosv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fkaosv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fkaosv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fkaosv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/essentialkaos","download_url":"https://codeload.github.com/essentialkaos/kaosv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fkaosv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263594622,"owners_count":23485877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["initrd","initscript","sysv"],"created_at":"2024-11-23T12:19:10.027Z","updated_at":"2025-07-04T18:09:07.887Z","avatar_url":"https://github.com/essentialkaos.png","language":"Shell","readme":"\u003cp align=\"center\"\u003e\u003ca href=\"#readme\"\u003e\u003cimg src=\".github/images/card.svg\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://kaos.sh/w/kaosv/ci\"\u003e\u003cimg src=\"https://kaos.sh/w/kaosv/ci.svg\" alt=\"GitHub Actions CI Status\" /\u003e\u003c/a\u003e\n  \u003ca href=\"#license\"\u003e\u003cimg src=\".github/images/license.svg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003ca href=\"#documentation\"\u003eDocumentation\u003c/a\u003e • \u003ca href=\"#examples\"\u003eExamples\u003c/a\u003e • \u003ca href=\"#common-mistakes\"\u003eCommon mistakes\u003c/a\u003e • \u003ca href=\"#ci-status\"\u003eCI Status\u003c/a\u003e • \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/p\u003e\n\n\u003cbr/\u003e\n\n`kaosv` is bash lib for SysV init scripts.\n\n### Documentation\n\nKAOSv contain inline documentation in shdoc format.\n\nDocumentation for latest version can be found [here](https://docs.kaos.st/kaosv/latest/). Also you can use [SHDoc](https://github.com/essentialkaos/shdoc) utility for viewing inline docs in your console.\n\n### Examples\n\n* [memcached](https://github.com/essentialkaos/kaos-repo/blob/master/specs/memcached/SOURCES/memcached.init)\n* [pgbouncer](https://github.com/essentialkaos/kaos-repo/blob/master/specs/pgbouncer/SOURCES/pgbouncer.init)\n* [postgresql](https://github.com/essentialkaos/kaos-repo/blob/master/specs/postgresql-11/SOURCES/postgresql.init)\n* [redis](https://github.com/essentialkaos/kaos-repo/blob/master/specs/redis/SOURCES/redis.init)\n* [salt](https://github.com/essentialkaos/kaos-repo/blob/master/specs/salt/SOURCES/salt-master.init)\n* [webkaos](https://github.com/essentialkaos/webkaos/blob/master/SOURCES/webkaos.init)\n\n### Common mistakes\n\n**Checking the system environment before executing `kv.go`**\n\nYou should define a pre-start handler with [disabled output redirect](https://docs.kaos.st/kaosv/2.15.3/#491) and perform system check in this handler ([example](https://github.com/essentialkaos/kaos-repo/blob/master/specs/pgbouncer/SOURCES/pgbouncer.init#L86)).\n\n\n**The script doesn't run application and return a non-zero exit code**\n\nAll 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.\n\n### CI Status\n\n| Branch | Status |\n|--------|--------|\n| `master` | [![CI](https://kaos.sh/w/kaosv/ci.svg?branch=master)](https://kaos.sh/w/kaosv/ci?query=branch:master) |\n| `develop` | [![CI](https://kaos.sh/w/kaosv/ci.svg?branch=master)](https://kaos.sh/w/kaosv/ci?query=branch:develop) |\n\n### License\n\n[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://essentialkaos.com\"\u003e\u003cimg src=\"https://gh.kaos.st/ekgh.svg\"/\u003e\u003c/a\u003e\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fessentialkaos%2Fkaosv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fessentialkaos%2Fkaosv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fessentialkaos%2Fkaosv/lists"}