I want to edit my rc.local file to start up a few server sessions each in it's own GNU screen. However, whenever I stop a server, the screen terminates.
Currently I have:
screen -dmS test ~/tmp/runserver.sh
with this inside runserver.sh:
How do I get the screen to stay alive after the passed in command or script terminates?