From dafd57bba8217b20267c71380aa914c1a49f475f Mon Sep 17 00:00:00 2001 From: Cavernosa <42952107+Cavernosa@users.noreply.github.com> Date: Tue, 17 May 2022 04:02:51 +0000 Subject: [PATCH] Update readme.md --- readme.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/readme.md b/readme.md index fa5b09e..f05e6f9 100644 --- a/readme.md +++ b/readme.md @@ -80,6 +80,25 @@ disable getty on Ly's tty to prevent "login" from spawning on top of it sudo systemctl disable getty@tty2.service ``` +### OpenRC + +clone, compile and test (tty7 by default). +Install Ly and the provided openrc service +``` +sudo make install-openrc +``` + +Enable the service +``` +sudo rc-update add ly +``` + +You can edit the tty in which ly will start in the service script. +If you choose a tty that already has a login/getty running you have to disable the getty so it doesn't respawn on top of ly +``` +sudo rc-update del agetty.tty1 +``` + ## Configuration You can find all the configuration in `/etc/ly/config.ini`. The file is commented, and includes the default values.