Skip to content

Commit

Permalink
fix bug;
Browse files Browse the repository at this point in the history
  • Loading branch information
233boy committed Sep 9, 2022
1 parent d0a9369 commit abc0500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/download-v2ray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ Environment="V2RAY_VMESS_AEAD_FORCED=false"
#AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
NoNewPrivileges=true
ExecStart=/usr/bin/env v2ray.vmess.aead.forced=false /usr/bin/v2ray/v2ray run -config /etc/v2ray/config.json
#Restart=on-failure
Restart=always
Restart=on-failure
StartLimitBurst=0
#Restart=always
[Install]
WantedBy=multi-user.target
Expand Down
2 changes: 1 addition & 1 deletion v2ray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ none='\e[0m'
# Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1

_version="v3.59"
_version="v3.60"

cmd="apt-get"

Expand Down

0 comments on commit abc0500

Please sign in to comment.