So I am running a very normal server written in python, here's how I start up my server
python main.py 2>&1 &
The process will simply get shutdown after some 20000 seconds after my linux session goes time out. How can I prevent that?
So I am running a very normal server written in python, here's how I start up my server
python main.py 2>&1 &
The process will simply get shutdown after some 20000 seconds after my linux session goes time out. How can I prevent that?
You have to start the process in detached mode by:
nohup python main.py 2>&1 1>/dev/null &