create dinit service

This commit is contained in:
Simon Pflaumer 2023-11-05 14:08:46 +00:00 committed by GitHub
parent 4ee2b3ecc7
commit b94c477b22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 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