I have a headless server that sits in the corner and runs all my self-hosted apps. I run them all in screen sessions, so I can easily ssh in and restart them, or turn some on and others off. This works really well until we have a power blip, and I have to log back in and set up 5 more sessions.

Is there a convenient way to spin up screen sessions at startup, and then run scripts in each of them?

I’m running stock Ubuntu.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://social.treehouse.systems/users/jnkrtech/statuses/115851746021696929 on your instance and quote it. (Note that quoting is not supported in Mastodon.)