mirror of
https://github.com/gl-inet/glkvm-cloud.git
synced 2026-09-22 10:33:29 +00:00
0846fceb99
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2.0 KiB
2.0 KiB
rttys(中文)
This is the server program of rtty
Usage
download the pre-built release binary from Release page according to your os and arch or compile it by yourself.
go get -u github.com/zhaojh329/rttys
See Supported Command Line Parameters
./rttys -h
Usage of rttys:
-addr-dev string
address to listen device (default ":5912")
-addr-user string
address to listen user (default ":5913")
-base-url string
base url to serve on (default "/")
-conf string
config file to load (default "./rttys.conf")
-gen-token
generate token
-ssl-cert string
certFile Path (default "./rttys.crt")
-ssl-key string
keyFile Path (default "./rttys.key")
-token string
token to use
run
./rttys
View logs when running in the background
cat /var/log/rttys.log
Authorization
./rttys -gen-token
Please set a password:******
Your token is: 34762d07637276694b938d23f10d7164
./rttys -token 34762d07637276694b938d23f10d7164
Contributing
If you would like to help making rttys better, see the CONTRIBUTING.md file.