openrc service

This commit is contained in:
Cavernosa 2022-05-17 02:59:46 +00:00 committed by GitHub
parent 8eb487ae9e
commit f8fb6c7818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
res/ly-openrc Normal file
View File

@ -0,0 +1,12 @@
#!/sbin/openrc-run
name="ly"
description="TUI display manager ly"
depend() {
after agetty
}
start() {
exec supervise-daemon ly --start --pidfile /run/${RC_SVCNAME}.pid --respawn-period 60 /sbin/agetty -- -nl /usr/bin/ly tty7 38400 linux
}