-
Notifications
You must be signed in to change notification settings - Fork 397
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
Start bot on reboot Linux #28
Comments
Hi, glad its all working now and thanks the donation :). You'd have two options to run the app in the background as well as on boot. Systemd and PM2. I personally prefer PM2. You can find an installation setup guide here. It will install it as .deb - no need for npm. When the installation finished go into your bot folder in your venv, and start the bot with the following command:
To auto start the bot on boot type:
You can see the logs with Hope that helps and let me know it anything is not working. |
Awesome. I will try it now. Thanks. |
You are totally awesome man! Working perfect! I can now get my bots moved over to my own server instead of relying on somebody else. I will send you some more BTC soon! Thank you so much. |
Awesome, glad to hear that. Enjoy the bot! |
Hi! I have this running on latest Ubuntu Desktop. Everything is working.
I was wondering if you could provide some instruction for using systemd to make this run on a reboot (without a user logged in). I am worried if my system reboots the bot is going to stop working.
I am a not a complete novice to Linux, but I am not an expert either. I see that I would need a .service file located in etc/systemd/system, but I am unsure exactly what to put in there.
P.S. Sending you some BTC right now for your trouble.
Thanks!
The text was updated successfully, but these errors were encountered: