a bare-minimum init
Find a file
2020-06-20 21:52:21 +02:00
src fix signals, add shutdown command 2020-06-20 21:52:21 +02:00
svc initial commit 2020-06-14 01:02:16 +02:00
.gitignore initial commit 2020-06-14 01:02:16 +02:00
Cargo.lock initial commit 2020-06-14 01:02:16 +02:00
Cargo.toml fix signals, add shutdown command 2020-06-20 21:52:21 +02:00
config.toml initial commit 2020-06-14 01:02:16 +02:00
Makefile add deploy script & some minor cleanup 2020-06-20 15:27:21 +02:00
README.md add deploy script & some minor cleanup 2020-06-20 15:27:21 +02:00

mini

mini is a minimal init system. It was created mainly for educational purposes as well as wanting to know if I were able to reduce my Arch boot time. You may use it at your own risk, it is not ready for any serious use (and will probably never be :)).

Install

  1. Clone this repo
  2. cargo build
  3. cp target/debug/mini /sbin/
  4. Create your services files if needed
  5. Edit the kernel command line and add init=/sbin/mini

Developing

To ease development, I created a Makefile that will automatically compile and deploy latest version of mini on a QEMU VM. More details to come...