summarylogtreecommitdiffstats
path: root/xray@.service
diff options
context:
space:
mode:
authorAkinoKaede2020-11-29 22:52:50 +0800
committerAkinoKaede2020-11-29 22:53:19 +0800
commitba7992a6a90ab0111c5bdc7b99ca77eb4f383062 (patch)
tree166f7c22ea681447fc8ef8821f797c9fed611413 /xray@.service
parent87f706fca3fd3f1c7aad46b9134647849933008b (diff)
downloadaur-ba7992a6a90ab0111c5bdc7b99ca77eb4f383062.tar.gz
fix: systemdlLoctaion assest environment
Diffstat (limited to 'xray@.service')
-rw-r--r--xray@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/xray@.service b/xray@.service
index c7563486d112..bbb0461171ae 100644
--- a/xray@.service
+++ b/xray@.service
@@ -8,6 +8,7 @@ User=nobody
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
NoNewPrivileges=true
+Environment=XRAY_LOCATION_ASSET=/usr/share/v2ray
ExecStart=/usr/bin/xray run -config /etc/xray/%i.json
Restart=on-failure
RestartPreventExitStatus=23