mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-10 11:58:43 -04:00
net-proxy/hysteria: no need to hardcode cert dir
drop environment settings, but config via /etc/hysteria/server.yaml, for example acme: dir: /var/lib/hysteria/acme this is more flexible, works both for sytemd/openrc Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
parent
c0dbe5b627
commit
c5b526a059
@ -10,7 +10,6 @@ WorkingDirectory=~
|
||||
User=hysteria
|
||||
Group=hysteria
|
||||
Environment=HYSTERIA_LOG_LEVEL=info
|
||||
Environment=HYSTERIA_ACME_DIR=/var/lib/hysteria/acme
|
||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
|
||||
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
|
||||
NoNewPrivileges=true
|
||||
|
Loading…
x
Reference in New Issue
Block a user