I want to disable suspend because my VPS goes into suspend and I cannot access it.
How I can do that?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
This could have to do with that you are trying to run a bash script and that when you close your terminal it just quits this script, this is quite easy to solve.
Step 1 (install screen if not already installed)
sudo apt-get install screen
Step 2 (using it!)
Now before you run your script just run screen!
If you want to get back to it later try running screen -R
I hope this helped!