Skip to content

Options

James58899 edited this page Oct 24, 2023 · 8 revisions

The options of hath-rust are similar to the official ones. You can refer to the Official wiki.

Usage: hath-rust [OPTIONS]

Options:
      --port <PORT>                      Overrides the port set in the client's settings
      --cache-dir <CACHE_DIR>            Cache data location [default: cache]
      --data-dir <DATA_DIR>              Login data location [default: data]
      --download-dir <DOWNLOAD_DIR>      Downloader save location [default: download]
      --log-dir <LOG_DIR>                Logs location [default: log]
      --temp-dir <TEMP_DIR>              Temporary location for proxy request [default: tmp]
      --disable-logging                  Disable writing non-error logs to file
      --flush-log                        Flush the logs to disk every line
      --max-connection <MAX_CONNECTION>  Override the max connection soft limit, should only be used in special cases [default: 0]
      --disable-ip-origin-check          Disable server command ip check
  -h, --help                             Print help
  -V, --version                          Print version

Docker example

docker run ... ghcr.io/james58899/hath-rust hath-rust --port <PORT>
Clone this wiki locally