change the v2ray dir from /usr/bin/v2ray
to /usr/lib/v2ray
in the script
#1934
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
感谢v2ray开发者目前所有的付出,很好用,提个想到的鸡毛蒜皮的建议
不影响使用,只是强迫症不舒服
因为好像
/usr/bin
是不放目录的,感觉放/usr/lib/v2ray
比较合适而且也没有必要放
/usr/bin/
,不需要命令行执行,对吧?把脚本改了下,本来放到
/usr/bin/v2ray
的放到/usr/lib/v2ray/
根据iochen的回复
v2ray.service 添加了
StandardOut
和StandardError
因为看代码会读取
geosite.dat
和geoip.dat
,如果需要命令行的话,可能需要添加配置文件或命令行参数如果考虑兼容更多发行版的自启动可以调研下用
cron
的可行性UPDATED: changed
v2ray
file of systemV.