-
Notifications
You must be signed in to change notification settings - Fork 7
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.
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.
- 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