summaryrefslogtreecommitdiff
path: root/units/container-getty@.service.in
Commit message (Collapse)AuthorAgeFilesLines
* units: Simplify container getty handlingDaan De Meyer2022-07-281-4/+3
| | | | | | | | | | | | Let's remove the baud settings for the container getty units since they don't have any effect there anyway. On top of that, when we're dealing with container TTYs, we can handle all the setup involved ourselves so let's prevent agetty/login from touching the container tty at all. One example where this helps is that it actually makes disabling TTYVHangup have an effect since before, login would unconditionally call vhangup() on the tty.
* getty: Pass tty to use by agetty via stdinDaan De Meyer2021-11-051-1/+3
| | | | | | | If the tty arg is set to "-", agetty uses the stdin fd as the tty. Let's pass the tty this way so that we keep an fd open to the tty at all times. If all fd's to a tty are closed, the kernel might reset the tty which we want to avoid.
* meson: use jinja2 for unit templatesZbigniew Jędrzejewski-Szmek2021-05-191-0/+43
We don't need two (and half) templating systems anymore, yay! I'm keeping the changes minimal, to make the diff manageable. Some enhancements due to a better templating system might be possible in the future. For handling of '## ' — see the next commit.