How can run a program in memory at startup in all runlevel's?

ubuntu
linux

#1

Hi
How can i run this code in systemd

1::respawn:/sbin/mingetty tty1

I want to run a program in memory on startup in all runlevel’s