On Mon Sep 26 13:55:13 2022 +0000, Santino Mazza wrote:
I did it like this because I wanted to lock the file somehow, so other process can't open the file while the key is loaded.
Thats why I used flockfile but that didn't do anything because, as you said, it just blocks the file for the thread.