-
Notifications
You must be signed in to change notification settings - Fork 8
Install
James58899 edited this page Feb 11, 2025
·
13 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.
The gnu variants binary minimum requires glibc 2.35(Ubuntu 22.04).
When 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.
- Enter the directory of H@H
- Download binary from Release
- Make the file executable:
chmod +x <file>
- (Recommend) Make hath-rust as a service and start it automatically when booting
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 containcache
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