mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-31 02:18:00 +02:00
feat: add dinit support
This commit is contained in:
8
assets/services/dinit
Normal file
8
assets/services/dinit
Normal 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
|
17
assets/services/systemd.service
Normal file
17
assets/services/systemd.service
Normal 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
|
Reference in New Issue
Block a user