Some software that I'm using needs a higher-than-default value in /proc/sys/fs/inotify/max_user_watches
. I can modify this value with a text editor or from the terminal, and for a little while, everything is fine. However, after restarting my computer (not just logging out and in again, which works fine), the value has reset to 8192.
Why does this happen, and how can I make the change permanent?