feat: add dinit support

This commit is contained in:
2024-07-26 16:40:46 +02:00
parent 844687809b
commit a32e4a577f
7 changed files with 55 additions and 10 deletions

8
assets/services/dinit Normal file
View File

@@ -0,0 +1,8 @@
type = process
command = /sbin/agetty tty7 linux-c -n -l /bin/lidm -o 7
restart = true
depends-on = login.target
termsignal = HUP
smooth-recovery = true
inittab-id = 7
inittab-line = tty7

View File

@@ -0,0 +1,17 @@
[Unit]
Description=TUI display manager
After=systemd-user-sessions.service plymouth-quit-wait.service
After=getty@tty3.service
Conflicts=getty@tty3.service
[Service]
Type=idle
ExecStart=/usr/bin/lidm
StandardError=journal
StandardInput=tty
TTYPath=/dev/tty3
TTYReset=yes
TTYVHangup=yes
[Install]
Alias=display-manager.service