rustdesk-server icon indicating copy to clipboard operation
rustdesk-server copied to clipboard

What does -c, --config <FILE> do?

Open RorinL opened this issue 1 year ago • 1 comments
trafficstars

I executed "./hbbs -h" and saw "-c" Is this started by using a configuration file? How do I use this? I searched but can't seem to find anything about the function of this command?

In addition to specifying the ports of hbbr and hbbs, can I specify ports 21118, 21119, 21115 as other ports?

RorinL avatar Aug 15 '24 10:08 RorinL

https://github.com/rustdesk/rustdesk-server/blob/4c74586ce099c6ccdb17574571327e3c7cf80244/src/common.rs#L71-L79

Config file is INI. Finally, it will be set to env var. The same is true for command line parameters.

moeshin avatar Nov 27 '24 03:11 moeshin