mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
OpenRC service and support for more inits (#368)
Add OpenRC service and support for other init services Co-authored-by: Jonathan <78560204+wncry@users.noreply.github.com> Co-authored-by: MadcowOG <null> Co-authored-by: MadcowOG <88654251+MadcowOG@users.noreply.github.com>
This commit is contained in:
23
readme.md
23
readme.md
@@ -76,7 +76,7 @@ or a terminal emulator (but desktop environments won't start)
|
||||
|
||||
Install Ly and the provided systemd service file
|
||||
```
|
||||
# make install
|
||||
# make install installsystemd
|
||||
```
|
||||
|
||||
Enable the service
|
||||
@@ -90,6 +90,27 @@ disable getty on Ly's tty to prevent "login" from spawning on top of it
|
||||
# systemctl disable getty@tty2.service
|
||||
```
|
||||
|
||||
### OpenRC
|
||||
|
||||
Clone, compile and test.
|
||||
|
||||
Install Ly and the provided OpenRC service
|
||||
```
|
||||
# make install installopenrc
|
||||
```
|
||||
|
||||
Enable the service
|
||||
```
|
||||
# rc-update add ly
|
||||
```
|
||||
|
||||
You can edit which tty Ly will start on by editing the `tty` option in the configuration file.
|
||||
|
||||
If you choose a tty that already has a login/getty running (has a basic login prompt), then you have to disable the getty so it doesn't respawn on top of ly
|
||||
```
|
||||
# rc-update del agetty.tty2
|
||||
```
|
||||
|
||||
## Arch Linux Installation
|
||||
You can install ly from the [AUR](https://aur.archlinux.org/packages/ly), using yay for example:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user