summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaruue Icymoon2023-09-05 16:19:05 +0800
committerHaruue Icymoon2023-09-05 16:19:05 +0800
commit4b5014547cc0fea04ee5717e0b831c7d2fd172cc (patch)
tree361ef9df5d620aed63094d0b47f93b04a979de67
parente02541707002ffe43c8da1f2219266a7b8e3158a (diff)
downloadaur-4b5014547cc0fea04ee5717e0b831c7d2fd172cc.tar.gz
fix: config file path
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD6
-rw-r--r--hysteria-server@.service2
-rw-r--r--hysteria@.service2
4 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 404785a3a848..63fb66091d70 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,23 @@
pkgbase = hysteria-bin
pkgdesc = A feature-packed network utility optimized for networks of poor quality (Binary Release)
pkgver = 2.0.0
- pkgrel = 2
+ pkgrel = 3
url = https://hysteria.network/
install = hysteria.install
arch = x86_64
license = MIT
provides = hysteria
conflicts = hysteria
- source = hysteria-2.0.0-2-linux-amd64::https://github.com/apernet/hysteria/releases/download/app/v2.0.0/hysteria-linux-amd64
- source = hysteria-2.0.0-2-LICENSE.md::https://raw.githubusercontent.com/apernet/hysteria/app/v2.0.0/LICENSE.md
+ source = hysteria-2.0.0-3-linux-amd64::https://github.com/apernet/hysteria/releases/download/app/v2.0.0/hysteria-linux-amd64
+ source = hysteria-2.0.0-3-LICENSE.md::https://raw.githubusercontent.com/apernet/hysteria/app/v2.0.0/LICENSE.md
source = hysteria@.service
source = hysteria-server@.service
source = sysusers.conf
source = tmpfiles.conf
sha256sums = 13c073e6c98cacda2492faa1edb997a30282b57b99429d9f4b25530bdf23f04f
sha256sums = b279cfdac4db4b077f0660b5d8156d50a8bc7bd410036dc356499af43c4e84f5
- sha256sums = 9add177737c2d5acc1d4ed0efc67fc0a23fcc78eaaf2dc29721260586e8f3757
- sha256sums = a880372470ef11bc5ba594cb5047f78fda22d80cf22292570d3c328e091036a0
+ sha256sums = dc7f7dcdac24c06857e2fe5c4ad7e0a0bc3d63c0c1d18b555f59cc7447f02281
+ sha256sums = 13f817ae46e448b8b22917486f7ba61bf9d55e8442242e5651ba93e457e6db7e
sha256sums = 44f1cb2fedfc94dc396ceb215e62237dbc8c74c035c45a3430c1f3748d266dd9
sha256sums = 1e93d9f2b312eaf02ac00229106cd796e0cd54a9a468a0a8d3ae843399c1c310
diff --git a/PKGBUILD b/PKGBUILD
index 1778333cd8a4..024f4ceef69b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=hysteria-bin
_pkgbase=hysteria
pkgver=2.0.0
-pkgrel=2
+pkgrel=3
pkgdesc='A feature-packed network utility optimized for networks of poor quality (Binary Release)'
arch=('x86_64')
url='https://hysteria.network/'
@@ -20,8 +20,8 @@ source=("$_pkgbase-$pkgver-$pkgrel-linux-amd64::https://github.com/apernet/hyste
'tmpfiles.conf')
sha256sums=('13c073e6c98cacda2492faa1edb997a30282b57b99429d9f4b25530bdf23f04f'
'b279cfdac4db4b077f0660b5d8156d50a8bc7bd410036dc356499af43c4e84f5'
- '9add177737c2d5acc1d4ed0efc67fc0a23fcc78eaaf2dc29721260586e8f3757'
- 'a880372470ef11bc5ba594cb5047f78fda22d80cf22292570d3c328e091036a0'
+ 'dc7f7dcdac24c06857e2fe5c4ad7e0a0bc3d63c0c1d18b555f59cc7447f02281'
+ '13f817ae46e448b8b22917486f7ba61bf9d55e8442242e5651ba93e457e6db7e'
'44f1cb2fedfc94dc396ceb215e62237dbc8c74c035c45a3430c1f3748d266dd9'
'1e93d9f2b312eaf02ac00229106cd796e0cd54a9a468a0a8d3ae843399c1c310')
diff --git a/hysteria-server@.service b/hysteria-server@.service
index efc9a9e61d1e..bf30f79a8b05 100644
--- a/hysteria-server@.service
+++ b/hysteria-server@.service
@@ -5,7 +5,7 @@ After=network.target
[Service]
Type=simple
-ExecStart=/usr/bin/hysteria server --config %i.yaml --disable-update-check
+ExecStart=/usr/bin/hysteria server --config /etc/hysteria/%i.yaml --disable-update-check
WorkingDirectory=/var/lib/hysteria
User=hysteria
Group=hysteria
diff --git a/hysteria@.service b/hysteria@.service
index d7aa7b8146b9..58b25cb92a4d 100644
--- a/hysteria@.service
+++ b/hysteria@.service
@@ -5,7 +5,7 @@ After=network.target
[Service]
Type=simple
-ExecStart=/usr/bin/hysteria client --config %i.yaml --disable-update-check
+ExecStart=/usr/bin/hysteria client --config /etc/hysteria/%i.yaml --disable-update-check
WorkingDirectory=/var/lib/hysteria
User=hysteria
Group=hysteria