|Dashie der otter 49acf3294d Add rsyslogd service||3 years ago|
|conf||3 years ago|
|conftest||3 years ago|
|lutractl||3 years ago|
|lutrainit||3 years ago|
|shared/ipc||3 years ago|
|.dockerignore||3 years ago|
|.drone.yml||3 years ago|
|.gitignore||3 years ago|
|Dockerfile||3 years ago|
|LICENSE||3 years ago|
|MAIN_CONFIG.md||3 years ago|
|Makefile||3 years ago|
|README.md||3 years ago|
|SERVICES.md||3 years ago|
|common.mk||3 years ago|
|lxc-config||3 years ago|
Main repository at https://dev.sigpipe.me/dashie/lutrainit
lutrainit is an init system for Linux written in Go.
lutrainit will do the following:
conf/for a samples config.
(The way step 4 is handled isn't very elegant and will likely fail if you have too many slow startup processes.)
You can also create a file
/etc/lutrainit/lutra.conf for some basic configuration.
If there are any lines of the form
autologin: username it will automatically log in
as that username. (If there's multiple autologin directives, it will create the
appropriate number of ttys.)
If any line contains
persist: true, then when a tty exits, it'll respawn the tty instead of powering down the system once all the ttys are gone.
conf/ folder for what you can put in
/etc/lutrainit/ including services files in
A tool exists and communicate with the init daemon using RPC on socket
/run/ottersock, it can then show init version, statistics about goroutines, memory, etc.
sudo cp lutrainit/lutrainit /sbin sudo cp lutractl/lutractl /sbin
init=/sbin/lutrainit to your grub configuration. (Or alternatively, make
/sbin/init a symlink to
 This shouldn't be required, since
mount -a should take care of it in step
3 according to mount(8), but as far as I can tell it doesn't.