Open

Description
Currently there are various problems with the PID file approach for process management. We can improve the situation easily by using file locks on the PID files. Solves problems and makes it easier to find out if the program is still running. File is locked -> bot is running. no file lock -> bot not running.
However, that means that the file needs to be locked by the bot itself, not by intelmqctl (which is currently the case)!
Not sure if this change is safe and easy enough to be implemented in a maintenance release.
See intelmq.bin.intelmqctl.IntelMQProcessManager
.