kisslinux / init

KISS Linux - Init Framework
https://kisslinux.github.io
MIT License
90 stars 26 forks source link

(?) Changing init system from busybox to vanilla runit #20

Closed quisys closed 4 years ago

quisys commented 4 years ago

Hi, I hope this is the right place to ask this.

I am having a hard time with busybox's init system, but can't find any documentation detailing how to change the init system on kiss, how do I do it?

Again, sorry if this is not the correct place to ask

dylanaraps commented 4 years ago

It should be as simple as installing the runit package from Community and running kiss a runit /usr/bin/init (kiss a with no arguments will tell you if there are any other binaries you must swap to). @cemkeylan, care to confirm? Documentation is lacking here, will write a page for the Wiki about this. :+1:

cemkeylan commented 4 years ago

That's true, you will also need to run

kiss a runit /usr/bin/poweroff
kiss a runit /usr/bin/reboot
quisys commented 4 years ago

woah! kiss a is amazing, can't believe that I didn't know about that before. Thanks for the quick response, have a good one.

dylanaraps commented 4 years ago

Page is live (though only covers runit for the time being. Will be expanded over time). https://k1ss.org/wiki/init/changing-init

cemkeylan commented 4 years ago

I have also sent you a mail patch for the wiki including a more detailed page for switching init systems and also a wiki page for sysmgr

cemkeylan commented 4 years ago

Also, since runit provides both init and service supervisor, doing

kiss a | grep ^runit | kiss a - will result in both of them to be replaced, not just init.