summarylogtreecommitdiffstats
path: root/hysteria-server@.service
diff options
context:
space:
mode:
authorHaruue Icymoon2023-09-04 23:06:14 +0800
committerHaruue Icymoon2023-09-04 23:06:14 +0800
commite02541707002ffe43c8da1f2219266a7b8e3158a (patch)
tree45c6d127804cd235dbb1a937906fa401c45dae8b /hysteria-server@.service
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
Diffstat (limited to 'hysteria-server@.service')
-rw-r--r--hysteria-server@.service2
1 files changed, 1 insertions, 1 deletions
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