I have a Stretch system n which I would like to replace agetty with ngetty (for various reasons like because I have no use for serial lines, and I like the way ngetty can be configured, for examples).
I know how to do that in runit or sysvinit, but I can't find where the info is with systemd.
I can find nothing which seems related in /etc (the inittab file is simply not used for the related lines) but there seems to have related files in /lib/systemd/system/.
I must admit I do not feel comfortable to hack things in this folder, so what would be the cleanest way to do that in Debian?
Thanks.