diff options
author | AkinoKaede | 2020-11-29 22:52:50 +0800 |
---|---|---|
committer | AkinoKaede | 2020-11-29 22:53:19 +0800 |
commit | ba7992a6a90ab0111c5bdc7b99ca77eb4f383062 (patch) | |
tree | 166f7c22ea681447fc8ef8821f797c9fed611413 /xray@.service | |
parent | 87f706fca3fd3f1c7aad46b9134647849933008b (diff) | |
download | aur-ba7992a6a90ab0111c5bdc7b99ca77eb4f383062.tar.gz |
fix: systemdlLoctaion assest environment
Diffstat (limited to 'xray@.service')
-rw-r--r-- | xray@.service | 1 |
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 |