I have a server, which i access over ssh. Sometimes i like to run some scripts (some of them in the background) in tmux and then detach it, close the connection and access tmux later.
But unfortunately ecryptfs (or whatever service does that stuff) umounts my home-folder as soon as the ssh-connection is closed. This leads to several errors, because the scripts/deamons want to access some files in my home-folder.
So is there a way to prevent ecryptfs from umounting my home if there is still a (detached) tmux session running?
I know that i could just disable the encryption, but i would rather like to keep it and solve the problem someway else.