summaryrefslogtreecommitdiff
path: root/utils/syncthing
diff options
context:
space:
mode:
authorAlberto Bursi <bobafetthotmail@gmail.com>2020-07-05 00:43:53 +0200
committerPaul Spooren <mail@aparcar.org>2020-07-04 20:13:49 -1000
commit28bcd1955706ebdf33cc03a4c444c2663127a605 (patch)
treea9285a47e5bf6a746cfb2f0264447a4b552dcb9a /utils/syncthing
parent333185782435fcb44d0bff92da5b87879a2b6fde (diff)
syncthing: increase inotify limit
default inotify limits at 8k are low for serious usage and the GUI shows errors like "Failed to start filesystem watcher for folder XXXX" increase them with this config file as instructed by syncthing's FAQ. https://docs.syncthing.net/users/ faq.html#inotify-limits Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com> [bumped PKG_RELEASE] Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'utils/syncthing')
-rw-r--r--utils/syncthing/Makefile2
-rw-r--r--utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf1
2 files changed, 2 insertions, 1 deletions
diff --git a/utils/syncthing/Makefile b/utils/syncthing/Makefile
index 7fb87931d..011b8afbf 100644
--- a/utils/syncthing/Makefile
+++ b/utils/syncthing/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=syncthing
PKG_VERSION:=1.6.1
-PKG_RELEASE:=0
+PKG_RELEASE:=1
PKG_SOURCE:=syncthing-source-v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/syncthing/syncthing/releases/download/v$(PKG_VERSION)
diff --git a/utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf b/utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf
new file mode 100644
index 000000000..1e65bf95d
--- /dev/null
+++ b/utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf
@@ -0,0 +1 @@
+fs.inotify.max_user_watches=204800