aboutsummaryrefslogtreecommitdiff
path: root/build.go
diff options
context:
space:
mode:
authorMax <github@germancoding.com>2021-10-09 20:33:14 +0200
committerGitHub <noreply@github.com>2021-10-09 20:33:14 +0200
commite557ba82e7b624f8d0547dde0f2ec87d13a4099b (patch)
tree69a6f64cbd3a51d797013ef3334d11cfb08ee5b6 /build.go
parent7c292cc812320c01675697f50f0f419f7fc93bb7 (diff)
downloadsyncthing-e557ba82e7b624f8d0547dde0f2ec87d13a4099b.tar.gz
syncthing-e557ba82e7b624f8d0547dde0f2ec87d13a4099b.zip
build: Fix error in Debian install scripts preventing restarts for stdiscosrv + strelaysrv (#8001)v1.18.4-rc.1
Diffstat (limited to 'build.go')
-rw-r--r--build.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.go b/build.go
index d2b4567f2..791ca9a41 100644
--- a/build.go
+++ b/build.go
@@ -143,7 +143,7 @@ var targets = map[string]target{
{src: "LICENSE", dst: "LICENSE.txt", perm: 0644},
{src: "AUTHORS", dst: "AUTHORS.txt", perm: 0644},
},
- systemdService: "cmd/stdiscosrv/etc/linux-systemd/stdiscosrv.service",
+ systemdService: "stdiscosrv.service",
installationFiles: []archiveFile{
{src: "{{binary}}", dst: "deb/usr/bin/{{binary}}", perm: 0755},
{src: "cmd/stdiscosrv/README.md", dst: "deb/usr/share/doc/syncthing-discosrv/README.txt", perm: 0644},
@@ -171,7 +171,7 @@ var targets = map[string]target{
{src: "LICENSE", dst: "LICENSE.txt", perm: 0644},
{src: "AUTHORS", dst: "AUTHORS.txt", perm: 0644},
},
- systemdService: "cmd/strelaysrv/etc/linux-systemd/strelaysrv.service",
+ systemdService: "strelaysrv.service",
installationFiles: []archiveFile{
{src: "{{binary}}", dst: "deb/usr/bin/{{binary}}", perm: 0755},
{src: "cmd/strelaysrv/README.md", dst: "deb/usr/share/doc/syncthing-relaysrv/README.txt", perm: 0644},