aboutsummaryrefslogtreecommitdiff
path: root/build.go
diff options
context:
space:
mode:
authorSimon Frei <freisim93@gmail.com>2021-08-22 20:04:47 +0200
committerGitHub <noreply@github.com>2021-08-22 20:04:47 +0200
commit5711bacd836d7fc6708cbd6e4343a9ddc14782a4 (patch)
treeaff2564a6128f396ce89b9b1a7b94814b1cd92c1 /build.go
parent70a840d3d5c4b107f6dc24e57ec7b50c9320b318 (diff)
downloadsyncthing-5711bacd836d7fc6708cbd6e4343a9ddc14782a4.tar.gz
syncthing-5711bacd836d7fc6708cbd6e4343a9ddc14782a4.zip
build: Readd systemd files to deb releases (ref #7564) (#7899)v1.18.2-rc.3v1.18.2
Diffstat (limited to 'build.go')
-rw-r--r--build.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.go b/build.go
index d2a669e28..3568bbbcf 100644
--- a/build.go
+++ b/build.go
@@ -150,6 +150,7 @@ var targets = map[string]target{
{src: "LICENSE", dst: "deb/usr/share/doc/syncthing-discosrv/LICENSE.txt", perm: 0644},
{src: "AUTHORS", dst: "deb/usr/share/doc/syncthing-discosrv/AUTHORS.txt", perm: 0644},
{src: "man/stdiscosrv.1", dst: "deb/usr/share/man/man1/stdiscosrv.1", perm: 0644},
+ {src: "cmd/stdiscosrv/etc/linux-systemd/stdiscosrv.service", dst: "deb/lib/systemd/system/stdiscosrv.service", perm: 0644},
{src: "cmd/stdiscosrv/etc/linux-systemd/default", dst: "deb/etc/default/syncthing-discosrv", perm: 0644},
{src: "cmd/stdiscosrv/etc/firewall-ufw/stdiscosrv", dst: "deb/etc/ufw/applications.d/stdiscosrv", perm: 0644},
},
@@ -178,6 +179,7 @@ var targets = map[string]target{
{src: "LICENSE", dst: "deb/usr/share/doc/syncthing-relaysrv/LICENSE.txt", perm: 0644},
{src: "AUTHORS", dst: "deb/usr/share/doc/syncthing-relaysrv/AUTHORS.txt", perm: 0644},
{src: "man/strelaysrv.1", dst: "deb/usr/share/man/man1/strelaysrv.1", perm: 0644},
+ {src: "cmd/strelaysrv/etc/linux-systemd/strelaysrv.service", dst: "deb/lib/systemd/system/strelaysrv.service", perm: 0644},
{src: "cmd/strelaysrv/etc/linux-systemd/default", dst: "deb/etc/default/syncthing-relaysrv", perm: 0644},
{src: "cmd/strelaysrv/etc/firewall-ufw/strelaysrv", dst: "deb/etc/ufw/applications.d/strelaysrv", perm: 0644},
},