[update] v2ray.sh 变更

systemd 用户改动
pull/290/head
wulabing 2020-08-29 13:12:24 +08:00
parent 1dd88cc29b
commit d6ddf830fe
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ OK="${Green}[OK]${Font}"
Error="${Red}[错误]${Font}"
# 版本
shell_version="1.1.5.2"
shell_version="1.1.5.3"
shell_mode="None"
github_branch="master"
version_cmp="/tmp/version_cmp.tmp"

View File

@ -389,7 +389,7 @@ Description=V2Ray Service
After=network.target nss-lookup.target
[Service]
User=nobody
User=root
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
NoNewPrivileges=true
@ -406,7 +406,7 @@ Description=V2Ray Service
After=network.target nss-lookup.target
[Service]
User=nobody
User=root
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
NoNewPrivileges=true