i have a linux remote server when run a python script in a virtual enviroment. I start this script with
source ./venv/bin/activate
python3 ./main.py
and it works without problem. Now, how can I stop this script? At now, I have to reboot my remote server to stop it.
Any suggestions? Thank you!