Restart unit on failure or closure

When control+c is pressed in the login screen, ly closes and doesn't start back again, leaving the session stuck. This will make sure ly is running.
This commit is contained in:
Michael Zamot 2025-08-07 19:51:16 +00:00 committed by GitHub
parent 73ecac67bf
commit 08ae1abc51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ StandardInput=tty
TTYPath=/dev/tty$DEFAULT_TTY TTYPath=/dev/tty$DEFAULT_TTY
TTYReset=yes TTYReset=yes
TTYVHangup=yes TTYVHangup=yes
Restart=always
[Install] [Install]
Alias=display-manager.service Alias=display-manager.service