yihong0618/tg_bing_dalle

keep alive without docker deployment?

HamGuy opened this issue · 3 comments

HamGuy commented

I deployed using method 2, but I noticed that the process does not stay active when the SSH connection is terminated either by the remote host or when the terminal is closed.

I'm using tmux to run the script in a separate session. You can try it too if you're familiar with the terminal. Alternatively, you could use the nohup command. See the Wikipedia - Nohup for more details.

Another choice: systemd

HamGuy commented

I'm using tmux to run the script in a separate session. You can try it too if you're familiar with the terminal. Alternatively, you could use the nohup command. See the Wikipedia - Nohup for more details.

Thank you, I will give it a try.