How to keep droplet active after closing terminal

January 10, 2018 3k views

I rent a droplet and run a python program on it. However if I close my terminal the program closes, how do I keep it active?

2 Answers
by Justin Ellingwood
In this article, we will discuss how to install and use "screen", a tool that allows you to manage multiple shell sessions inside a single terminal. The screen program is very useful for multi-tasking in an ssh environment, due to its ability to resume terminal sessions and perform multiple-concurrent tasks.

+1 on the comment above about GNU Screen.

You might also find the link below helpful - . This specifically talks about different commands relevant for your use case.

Have another answer? Share your knowledge.