simple-init

A set of init binaries for linux
git clone git://depsterr.com/git/simple-init
Log | Files | Refs | README | LICENSE

commit 05dcf2431432000ebf56ea45597d580430df9f67
parent c577d6127c3d6655e1448fb4209d96dcf31d5e63
Author: depsterr <depsterr@protonmail.com>
Date:   Wed, 10 Jun 2020 17:09:36 +0200

removed from readme

Diffstat:
MREADME.md | 32+-------------------------------
1 file changed, 1 insertion(+), 31 deletions(-)

diff --git a/README.md b/README.md @@ -1,33 +1,3 @@ # simple init -These are some Linux init "scripts" written in C. The scripts are heavily inspired by [the kisslinux init scripts](https://github.com/kisslinux/init). However, unlike the kiss init scripts, my init scripts don't: - -* support mdev, if you want/need this, then edit the source. - -* use any hooks, config files etc, if you want/need this, then edit the source. - -I recommend using this in conjunction with [sinit](https://git.suckless.org/sinit) for a truly minimal init experience. - -## Adding services or hooks - -Just add them in `init.c` with a call to `spawn_process`, though beware of the following: - -* Any process called by `spawn_process` which does not exit successfully (with an error code of 0) will cause `wait_for_children` to drop the user into a shell. - -* If your process doesn't exit into the background `wait_for_children` will halt init. To work around this, either create a shell script which starts and disowns processes that you wish to start and then exits with code 0 or mess around with the source. - -## Installation - -If you can't figure this out on your own, then you should not try to install anything here. - -### WARNING - -USE THIS PROGRAM AT YOUR OWN RISK. IF YOU DO NOT KNOW WHAT YOU ARE DOING YOU RISK "BRICKING" YOUR LINUX INSTALL. - -## why? - -Systemd is bloated beyond repair. - -Openrc, while better is needlessly large. - -The kiss init scripts, while great, are shell scripts which limits speed as well as customizability. +These are some Linux init "scripts" written in C. The scripts are heavily inspired by [the kisslinux init scripts](https://github.com/kisslinux/init).