Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
516B

  1. # {{ name }} - getty
  2. #
  3. # This service maintains a getty on tty1 from the point the system is
  4. # started until it is shut down again.
  5. start on stopped rc RUNLEVEL=[2345] and (
  6. not-container or
  7. container CONTAINER=lxc or
  8. container CONTAINER=lxc-libvirt)
  9. stop on runlevel [!2345]
  10. respawn
  11. 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 %}