summaryrefslogtreecommitdiff
path: root/net-p2p/syncthing-conf
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-08-09 14:18:00 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-08-09 14:18:00 +0200
commit4d9072ea493addf55abdea2434ce5efffd641149 (patch)
treebdce7d53977fe19608f9c45772c8e3a3d2824a71 /net-p2p/syncthing-conf
parentb210cfab1d1acd8d2cad24e4055d4df3f906f9d1 (diff)
downloadgentoo-personal-overlay-4d9072ea493addf55abdea2434ce5efffd641149.tar.gz
gentoo-personal-overlay-4d9072ea493addf55abdea2434ce5efffd641149.tar.bz2
gentoo-personal-overlay-4d9072ea493addf55abdea2434ce5efffd641149.zip
Fix syncthing-conf package
Diffstat (limited to 'net-p2p/syncthing-conf')
-rw-r--r--net-p2p/syncthing-conf/files/syncthing.conf1
-rw-r--r--net-p2p/syncthing-conf/syncthing-conf-1.0.ebuild16
2 files changed, 17 insertions, 0 deletions
diff --git a/net-p2p/syncthing-conf/files/syncthing.conf b/net-p2p/syncthing-conf/files/syncthing.conf
new file mode 100644
index 0000000..1e65bf9
--- /dev/null
+++ b/net-p2p/syncthing-conf/files/syncthing.conf
@@ -0,0 +1 @@
+fs.inotify.max_user_watches=204800
diff --git a/net-p2p/syncthing-conf/syncthing-conf-1.0.ebuild b/net-p2p/syncthing-conf/syncthing-conf-1.0.ebuild
new file mode 100644
index 0000000..5fa3e84
--- /dev/null
+++ b/net-p2p/syncthing-conf/syncthing-conf-1.0.ebuild
@@ -0,0 +1,16 @@
+EAPI=6
+
+DESCRIPTION="Additional system configuration for syncthing"
+HOMEPAGE="http://git.cynerd.cz/gentoo-personal-overlay/"
+S="${WORKDIR}"
+
+LICENSE="GPL-3.0+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="net-p2p/syncthing"
+
+src_install() {
+ insinto /etc/sysctl.d
+ doexe "${FILESDIR}/syncthing.conf"
+}