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},