systemd examples for logins

On distributions that use systemd, you can set up login programs for HVC terminal devices through a systemd instance unit.

Enable a getty service for hvc1 by issuing a command of this form:
# systemctl enable ttyrun-getty@hvc1.service
At the next system start, systemd starts the ttyrun service for hvc1. The ttyrun service starts a getty only if this terminal is available.
To start the service without a system restart, issue:
# systemctl start ttyrun-getty@hvc1.service
Note: How to set up systemd instance can vary by distribution. See the Device Drivers, Features, and Commands that is specific to your distribution.