yihong0618 / tg_bing_dalle

Telegram bing bot DALL-E 3
MIT License
418 stars 54 forks source link

keep alive without docker deployment? #31

Open HamGuy opened 8 months ago

HamGuy commented 8 months ago

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.

Pagliacii commented 8 months ago

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.

BeautyyuYanli commented 8 months ago

Another choice: systemd

HamGuy commented 8 months ago

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.