Skip to content

Install

James58899 edited this page Jul 9, 2024 · 12 revisions

hath-rust can drop-in replacement for the official jar, just put the executable file in the same directory as the jar and execute it.

If you want to switch back to the official version, be sure to check Verify cache integrity on the settings page.

Binary

The gnu variants binary minimum requires glibc 2.31(Ubuntu 20.04). If the environment does not meet the requirements, there is a musl variant that can be used.

If you want to run on a platform that is not pre-compiled, you can try to compile it yourself, but it is not guaranteed to work.

  1. Enter the directory of H@H
  2. Download binary from Release
  3. Make the file executable: chmod +x <file>
  4. (Recommend) Make hath-rust as a service and start it automatically when booting

Docker

docker run -p <PORT> \
    -v <H@H directory>:/hath \
    -w /hath \
    --restart unless-stopped \
    --stop-timeout 600 \
    -d \
    ghcr.io/james58899/hath-rust
  • -p Bind port to host
  • -v Bind volume to /hath in container
  • -w Set the working directory for hath-rust, it should contain cache data log download tmp in the working directory
  • --restart unless-stopped Auto-restart
  • --stop-timeout 600 Wait 600s before force kill
  • -d Starts container in background
Clone this wiki locally