summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaruue Icymoon2023-09-04 23:06:14 +0800
committerHaruue Icymoon2023-09-04 23:06:14 +0800
commite02541707002ffe43c8da1f2219266a7b8e3158a (patch)
tree45c6d127804cd235dbb1a937906fa401c45dae8b
parent6d85479120461e917245df7ca8f72deef522ba47 (diff)
downloadaur-e02541707002ffe43c8da1f2219266a7b8e3158a.tar.gz
chore: use homedir as workdir in systemd unit
as the default acme cache has been changed to $workdir/acme
-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 b40952447450..404785a3a848 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 = 1
+ pkgrel = 2
url = https://hysteria.network/
install = hysteria.install
arch = x86_64
license = MIT
provides = hysteria
conflicts = hysteria
- source = hysteria-2.0.0-1-linux-amd64::https://github.com/apernet/hysteria/releases/download/app/v2.0.0/hysteria-linux-amd64
- source = hysteria-2.0.0-1-LICENSE.md::https://raw.githubusercontent.com/apernet/hysteria/app/v2.0.0/LICENSE.md
+ 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@.service
source = hysteria-server@.service
source = sysusers.conf
source = tmpfiles.conf
sha256sums = 13c073e6c98cacda2492faa1edb997a30282b57b99429d9f4b25530bdf23f04f
sha256sums = b279cfdac4db4b077f0660b5d8156d50a8bc7bd410036dc356499af43c4e84f5
- sha256sums = 5d421ca1e73c69317261afd6405f3759c47fd2a3c69674cbbadf80bd433bd4db
- sha256sums = 98b7a3bcfe9278f196ff922b31d4b5363fd83d42e9dbd4a813e093a4d429511a
+ sha256sums = 9add177737c2d5acc1d4ed0efc67fc0a23fcc78eaaf2dc29721260586e8f3757
+ sha256sums = a880372470ef11bc5ba594cb5047f78fda22d80cf22292570d3c328e091036a0
sha256sums = 44f1cb2fedfc94dc396ceb215e62237dbc8c74c035c45a3430c1f3748d266dd9
sha256sums = 1e93d9f2b312eaf02ac00229106cd796e0cd54a9a468a0a8d3ae843399c1c310
diff --git a/PKGBUILD b/PKGBUILD
index bebc3a06f084..1778333cd8a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=hysteria-bin
_pkgbase=hysteria
pkgver=2.0.0
-pkgrel=1
+pkgrel=2
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'
- '5d421ca1e73c69317261afd6405f3759c47fd2a3c69674cbbadf80bd433bd4db'
- '98b7a3bcfe9278f196ff922b31d4b5363fd83d42e9dbd4a813e093a4d429511a'
+ '9add177737c2d5acc1d4ed0efc67fc0a23fcc78eaaf2dc29721260586e8f3757'
+ 'a880372470ef11bc5ba594cb5047f78fda22d80cf22292570d3c328e091036a0'
'44f1cb2fedfc94dc396ceb215e62237dbc8c74c035c45a3430c1f3748d266dd9'
'1e93d9f2b312eaf02ac00229106cd796e0cd54a9a468a0a8d3ae843399c1c310')
diff --git a/hysteria-server@.service b/hysteria-server@.service
index 1ef1d6fc4031..efc9a9e61d1e 100644
--- a/hysteria-server@.service
+++ b/hysteria-server@.service
@@ -6,7 +6,7 @@ After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/hysteria server --config %i.yaml --disable-update-check
-WorkingDirectory=/etc/hysteria
+WorkingDirectory=/var/lib/hysteria
User=hysteria
Group=hysteria
Environment=HYSTERIA_LOG_LEVEL=info
diff --git a/hysteria@.service b/hysteria@.service
index 012e9b7f8178..d7aa7b8146b9 100644
--- a/hysteria@.service
+++ b/hysteria@.service
@@ -6,7 +6,7 @@ After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/hysteria client --config %i.yaml --disable-update-check
-WorkingDirectory=/etc/hysteria
+WorkingDirectory=/var/lib/hysteria
User=hysteria
Group=hysteria
Environment=HYSTERIA_LOG_LEVEL=info