summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-08-09 13:12:32 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-08-09 13:12:32 +0200
commitb210cfab1d1acd8d2cad24e4055d4df3f906f9d1 (patch)
tree461b99ee428b3ff8a067058f8fce8f82e93bc237
parentaf4f2782bfbd434facffca49f99faee812598f08 (diff)
downloadgentoo-personal-overlay-b210cfab1d1acd8d2cad24e4055d4df3f906f9d1.tar.gz
gentoo-personal-overlay-b210cfab1d1acd8d2cad24e4055d4df3f906f9d1.tar.bz2
gentoo-personal-overlay-b210cfab1d1acd8d2cad24e4055d4df3f906f9d1.zip
Add net-p2p/syncthing-conf
This package provides additional configuration for system for syncthing.
-rw-r--r--net-p2p/synthing-conf/files/syncthing.conf1
-rw-r--r--net-p2p/synthing-conf/syncthing-conf-1.0.ebuild16
-rw-r--r--profiles/cynerd-server/packages2
-rw-r--r--profiles/desktop/packages2
4 files changed, 19 insertions, 2 deletions
diff --git a/net-p2p/synthing-conf/files/syncthing.conf b/net-p2p/synthing-conf/files/syncthing.conf
new file mode 100644
index 0000000..1e65bf9
--- /dev/null
+++ b/net-p2p/synthing-conf/files/syncthing.conf
@@ -0,0 +1 @@
+fs.inotify.max_user_watches=204800
diff --git a/net-p2p/synthing-conf/syncthing-conf-1.0.ebuild b/net-p2p/synthing-conf/syncthing-conf-1.0.ebuild
new file mode 100644
index 0000000..5fa3e84
--- /dev/null
+++ b/net-p2p/synthing-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"
+}
diff --git a/profiles/cynerd-server/packages b/profiles/cynerd-server/packages
index b310ca3..608fad2 100644
--- a/profiles/cynerd-server/packages
+++ b/profiles/cynerd-server/packages
@@ -4,7 +4,7 @@ net-misc/netifrc
# TaskWarrior server
app-misc/taskd
# Synchronization
-net-p2p/syncthing
+net-p2p/syncthing-conf
# Radicale (CalDAV/CardDAV server)
www-apps/radicale
diff --git a/profiles/desktop/packages b/profiles/desktop/packages
index 78c7fb1..bd627f6 100644
--- a/profiles/desktop/packages
+++ b/profiles/desktop/packages
@@ -20,7 +20,7 @@ app-misc/khard
dev-python/vdirsyncer
# Synchronization
-net-p2p/syncthing
+net-p2p/syncthing-conf
# VPN
net-vpn/wireguard