Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ending Putty session kills the bot #198

Open
synaptium opened this issue Dec 4, 2021 · 2 comments
Open

Ending Putty session kills the bot #198

synaptium opened this issue Dec 4, 2021 · 2 comments

Comments

@synaptium
Copy link

Hello Guys.

I login to the linux server using putty.

After running the bot and i log out of putty, the bot too is stopped.

How do i run the bot continuously at the background even when i log out and how di i resume that session when i log back into the linnux server?

@dsymbol
Copy link

dsymbol commented Dec 4, 2021

You could use a session manager like screen or tmux alternatively you can use docker.

@projectswastaken
Copy link

sudo apt install screen
screen -S karmabot
cd to the directory
run the bot
ctrl a then d to exit the screen
close the session
to reconnect to the screen do screen -r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants