Make it easy to install ly on runit systems e.g. void (#431)

* Make it easy to install ly on runit systems e.g. void

* Tidy up runit section in readme

Co-authored-by: Daniel Haarhoff <daniel@rknt.de>
This commit is contained in:
Daniel Haarhoff
2022-08-28 11:53:58 +01:00
committed by GitHub
parent 99edd83429
commit 5db09ce104
5 changed files with 57 additions and 0 deletions

14
res/ly-runit-service/conf Normal file
View File

@@ -0,0 +1,14 @@
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
# util-linux specific settings
if [ "${tty}" = "tty1" ]; then
GETTY_ARGS="--noclear"
fi
fi
BAUD_RATE=38400
TERM_NAME=linux
StandardInput=tty
TTYPath=/dev/tty2
TTYReset=yes
TTYVHangup=yes