rustdesk-server
rustdesk-server copied to clipboard
What does -c, --config <FILE> do?
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?
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.