aboutsummaryrefslogtreecommitdiff
path: root/build.go
diff options
context:
space:
mode:
authorbt90 <btom1990@googlemail.com>2021-03-05 08:08:29 +0100
committerGitHub <noreply@github.com>2021-03-05 08:08:29 +0100
commitc1d06d9501f26f7c16fe4136b6b8dcb7f473a6d1 (patch)
tree0fdfcd785c6686460b0b7350cfe5bd99e58780c3 /build.go
parent4735575e8d132c0b7e5a3991ee3e13acd1c5cb5b (diff)
downloadsyncthing-c1d06d9501f26f7c16fe4136b6b8dcb7f473a6d1.tar.gz
syncthing-c1d06d9501f26f7c16fe4136b6b8dcb7f473a6d1.zip
build: Package sysctl configuration to raise UDP buffer size on Linux (#7417)v1.15.0-rc.1
* Provide a sysctl config to raise max UDP buffer size * Add sysctl config to deb * Check if `deb-systemd-invoke` is available Co-authored-by: otbutz <tbutz@optitool.de>
Diffstat (limited to 'build.go')
-rw-r--r--build.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.go b/build.go
index 3b18c61e6..b38e1cd58 100644
--- a/build.go
+++ b/build.go
@@ -115,6 +115,7 @@ var targets = map[string]target{
{src: "etc/linux-systemd/system/syncthing@.service", dst: "deb/lib/systemd/system/syncthing@.service", perm: 0644},
{src: "etc/linux-systemd/system/syncthing-resume.service", dst: "deb/lib/systemd/system/syncthing-resume.service", perm: 0644},
{src: "etc/linux-systemd/user/syncthing.service", dst: "deb/usr/lib/systemd/user/syncthing.service", perm: 0644},
+ {src: "etc/linux-sysctl/30-syncthing.conf", dst: "deb/usr/lib/sysctl.d/30-syncthing.conf", perm: 0644},
{src: "etc/firewall-ufw/syncthing", dst: "deb/etc/ufw/applications.d/syncthing", perm: 0644},
{src: "etc/linux-desktop/syncthing-start.desktop", dst: "deb/usr/share/applications/syncthing-start.desktop", perm: 0644},
{src: "etc/linux-desktop/syncthing-ui.desktop", dst: "deb/usr/share/applications/syncthing-ui.desktop", perm: 0644},