I need a certain program to run inside a gnu screen session, automatically when an ubuntu machine boots.
How can I set it up so that later on I can just
screen -r and interact with the program?
Quoting the documentation:
But keep in mind that once the command finishes, the screen terminates as well.