mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-09 15:19:13 +02:00
Update readme.md
This commit is contained in:
parent
c041be620f
commit
e5187a5ce1
1 changed files with 2 additions and 2 deletions
|
|
@ -121,9 +121,9 @@ that Ly will run on, otherwise bad things will happen. For example, to disable `
|
|||
# systemctl disable getty@tty2.service
|
||||
```
|
||||
|
||||
On some platforms, getty instances are not enabled for each tty, rather systemd-logind dynamically starts `autovt@.service` when the switch to a new tty occurs. To autostart ly on switch to `tty2`, do not enable any `ly` unit directly, instead symlink `autovt@tty2.service` to `ly@tty2.service` within `/usr/lib/systemd/system/` (analogous for every other tty you want to enable ly on).
|
||||
On platforms that use systemd-logind to dynamically start `autovt@.service` instances when the switch to a new tty occurs, any ly instances for ttys *except the default tty* need to be enabled using a different mechanism: To autostart ly on switch to `tty2`, do not enable any `ly` unit directly, instead symlink `autovt@tty2.service` to `ly@tty2.service` within `/usr/lib/systemd/system/` (analogous for every other tty you want to enable ly on).
|
||||
|
||||
The target of the symlink, `ly@tty2.service`, does not actually exist, but systemd nevertheless recognizes that the instanciation of `autovt@.service` with `%I` equal to `tty2` now points to an instanciation of `ly@.service` with `%I` set to `tty2`.
|
||||
The target of the symlink, `ly@ttyN.service`, does not actually exist, but systemd nevertheless recognizes that the instanciation of `autovt@.service` with `%I` equal to `ttyN` now points to an instanciation of `ly@.service` with `%I` set to `ttyN`.
|
||||
|
||||
Compare to `man 5 logind.conf`, especially regarding the `NAutoVTs=` and `ReserveVT=` parameters.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue