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:
Cavernosa
2022-08-13 08:44:53 +00:00
committed by GitHub
parent 309b97df8d
commit 0cefb3da8e
3 changed files with 71 additions and 5 deletions

View File

@@ -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:
```