In the linux window, I have a python script that always ran from a predefined user. It may take some time to complete this, so I want to allow other users to stop it from the Internet.
Using kill fails if the operation is not allowed.
Can I somehow modify my long python script so that it receives a signal from another user? Obviously, another user is starting the web server.
Maybe there is a completely different way to approach this problem, which I canβt think about right now.
clorz source
share