fix #822
This commit is contained in:
@@ -51,8 +51,8 @@ Type=simple
|
|||||||
User=root
|
User=root
|
||||||
#User=nobody
|
#User=nobody
|
||||||
Environment="V2RAY_VMESS_AEAD_FORCED=false"
|
Environment="V2RAY_VMESS_AEAD_FORCED=false"
|
||||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
#CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
||||||
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
#AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
||||||
NoNewPrivileges=true
|
NoNewPrivileges=true
|
||||||
ExecStart=/usr/bin/env v2ray.vmess.aead.forced=false /usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
|
ExecStart=/usr/bin/env v2ray.vmess.aead.forced=false /usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
|
||||||
#Restart=on-failure
|
#Restart=on-failure
|
||||||
|
2
v2ray.sh
2
v2ray.sh
@@ -10,7 +10,7 @@ none='\e[0m'
|
|||||||
# Root
|
# Root
|
||||||
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
|
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
|
||||||
|
|
||||||
_version="v3.49"
|
_version="v3.50"
|
||||||
|
|
||||||
cmd="apt-get"
|
cmd="apt-get"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user