|
- # {{ name }} - getty
- #
- # This service maintains a getty on tty1 from the point the system is
- # started until it is shut down again.
-
- start on stopped rc RUNLEVEL=[2345] and (
- not-container or
- container CONTAINER=lxc or
- container CONTAINER=lxc-libvirt)
-
- stop on runlevel [!2345]
-
- respawn
- exec /sbin/getty{% if tty.get('autologin', False) %} --autologin {{ tty.autologin }}{% endif %} -8 {{ tty.get('rate', 38400) }} {{ name }}{% if tty.term is defined %} {{ tty.term }}{% endif %}
|