Add dinit support

Co-authored-by: Simon Pflaumer <s.pflaumer@murena.io>
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2024-07-27 15:59:02 +02:00
parent e775827c8b
commit b7934e42d1
3 changed files with 39 additions and 2 deletions

9
res/ly-dinit Normal file
View File

@@ -0,0 +1,9 @@
type = process
restart = true
smooth-recovery = true
# note: /usr/bin/ly-dm when installing from pacman on artix, /usr/bin/ly when building from source
command = /usr/bin/ly
depends-on = loginready
termsignal = HUP
# ly needs access to the console while loginready already occupies it
options = shares-console