dotfiles_deprecated/scripts/workarounds/inc_max_user_watches.sh

8 lines
182 B
Bash

#!/bin/bash
# for e.g. nextcloud client, if it doesn't sync anymore
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf
sudo sysctl --system