From d88860928e9b321309b10ea21de64f5532b157c6 Mon Sep 17 00:00:00 2001 From: Puqns67 Date: Tue, 19 Mar 2024 12:01:28 +0800 Subject: [PATCH] Fix the installation location of service files in prebuilded package --- .goreleaser.fury.yaml | 4 ++-- .goreleaser.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.goreleaser.fury.yaml b/.goreleaser.fury.yaml index 7150cc78..1d0f16e1 100644 --- a/.goreleaser.fury.yaml +++ b/.goreleaser.fury.yaml @@ -50,9 +50,9 @@ nfpms: dst: /etc/sing-box/config.json type: config - src: release/config/sing-box.service - dst: /etc/systemd/system/sing-box.service + dst: /usr/lib/systemd/system/sing-box.service - src: release/config/sing-box@.service - dst: /etc/systemd/system/sing-box@.service + dst: /usr/lib/systemd/system/sing-box@.service - src: LICENSE dst: /usr/share/licenses/sing-box/LICENSE conflicts: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7247b623..63efeb5e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -128,9 +128,9 @@ nfpms: dst: /etc/sing-box/config.json type: config - src: release/config/sing-box.service - dst: /etc/systemd/system/sing-box.service + dst: /usr/lib/systemd/system/sing-box.service - src: release/config/sing-box@.service - dst: /etc/systemd/system/sing-box@.service + dst: /usr/lib/systemd/system/sing-box@.service - src: LICENSE dst: /usr/share/licenses/sing-box/LICENSE deb: