-
Notifications
You must be signed in to change notification settings - Fork 448
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
启动命令里必须加-u才可以启动 #26
Comments
这个是没有找到配置文件 |
“另外手机上的访问点和描述都不正常,只显示 |
代理服务端无配置启动不用-u参数,使用-m xxx试试,xxx为代理服务器端口号 |
大哥你这个不严谨啊,如果我配置文件放到 所以我的systemd也得改一下了,以前我得到对的结果,可能就是我先执行了 |
1、严谨点来讲,默认获取配置文件路径为当前工作目录 |
写systemd服务的时候,它可不管你是什么工作目录吧,所有路径都必须是绝对路径。 |
1、-f 能解决你的问题吧。 |
您好,能问一下您的systemd的配置文件是怎么写的吗?我写的总是无法开机自启,需要手动start。 |
smargate.service
就这样应该就行了,systemctl start以后ps查一下后台看看是否运行成功,或者看systemctl的status也可以。 |
多谢指导,可以了。 |
如这样:
/root/smargate/proxy_server -i1000 -o1000 -w8 -u xxxxxxxxxxxxx:y
另外代理服务端也必须这样启动,但代理服务器带上
-u
参数后会被识别成服务端。直接运行不带参数比如
/root/smargate/proxy_server
会报错:附我的代理服务器配置:
服务端配置:
PS: 代理服务器从我一开始用的时候是可以的,大概3月份的时候的版本,最近跟进更新,才发现不能启动了。
另外手机上的访问点和描述都不正常,只显示
访问点:network entry.
描述:common entry of intern net.
The text was updated successfully, but these errors were encountered: