From e557ba82e7b624f8d0547dde0f2ec87d13a4099b Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 9 Oct 2021 20:33:14 +0200 Subject: [PATCH] build: Fix error in Debian install scripts preventing restarts for stdiscosrv + strelaysrv (#8001) --- build.go | 4 ++-- 1 file 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},