dotfiles_deprecated/workarounds/inc_max_user_watches.sh

8 lines
182 B
Bash
Raw Normal View History

2018-03-01 00:47:14 +01:00
#!/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