Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frps --reload 选项没有作用 #98

Closed
railsfans opened this issue Aug 26, 2016 · 2 comments
Closed

frps --reload 选项没有作用 #98

railsfans opened this issue Aug 26, 2016 · 2 comments
Labels

Comments

@railsfans
Copy link

我从github上的release上下载frp_0.8.0_linux_amd64.tar.gz,发现--reload没有效果,具体是我输入命令之后会出现Usage的提示,具体如下

root@root# ./frps -c ./frps.ini --reload
Usage: 
    frps [-c config_file] [-L log_file] [--log-level=<log_level>] [--addr=<bind_addr>]
    frps --reload
    frps -h | --help
    frps -v | --version
@fatedier
Copy link
Owner

看了下确实是命令行解析的问题,暂时直接用 ./frps --reload 应该 ok,配置文件默认是当前目录下的 frps.ini,后面我修复一下。

@fatedier fatedier added the bug label Aug 26, 2016
@fengqi
Copy link

fengqi commented Aug 31, 2016

顺带说一下, reload 好像只能在有 frps.ini 的目录执行才可以(eg: ./frps --reload), 类似的 /opt/frp/frps --reload/opt/frp/frps -c /opt/frp/frps.ini --reload 都不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants