ttylogin-starter — start ttylogin@.service services on (active) kernel virtual terminals
ttylogin-starter [--tty filename] [--class directory] [--verbose]
ttylogin-starter automatically runs system-control(1) to start a ttylogin@.service service on each kernel virtual terminal.
It is not applicable to user-space virtual terminals.
If the services do not exist, it makes no attempt to create them.
To control what virtual terminals have auto-started ttylogin@.service services, simply create such services only as appropriate.
On BSD operating systems it simply and unconditionally starts services for all 16 virtual terminals from ttyv0 to ttyvf.
On Linux, it monitors the state of the /sys/class/tty/tty0/active file with poll(2).
This file reports the currently active kernel virtual terminal name.
Each time that poll(2) reports a change in the currently active virtual terminal, ttylogin-starter issues a system-control reset command.
Alternative sysfs class names and "0th" TTY names, which combine to produce the aforementioned filename, can be specified with the --class and --tty command options, respectively.