浏览代码

Fix the installation location of service files in prebuilded package

Puqns67 1 年之前
父节点
当前提交
d88860928e
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      .goreleaser.fury.yaml
  2. 2 2
      .goreleaser.yaml

+ 2 - 2
.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/[email protected]
-        dst: /etc/systemd/system/[email protected]
+        dst: /usr/lib/systemd/system/[email protected]
       - src: LICENSE
         dst: /usr/share/licenses/sing-box/LICENSE
     conflicts:

+ 2 - 2
.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/[email protected]
-        dst: /etc/systemd/system/[email protected]
+        dst: /usr/lib/systemd/system/[email protected]
       - src: LICENSE
         dst: /usr/share/licenses/sing-box/LICENSE
     deb: