Crates.io | trakt |
lib.rs | trakt |
version | 0.1.1 |
source | src |
created_at | 2019-02-22 16:20:57.86632 |
updated_at | 2023-09-02 20:34:29.45195 |
description | Reverse proxy and load balancer for Minecraft: Bedrock Edition |
homepage | |
repository | https://github.com/Unoqwy/trakt |
max_upload_size | |
id | 116557 |
size | 127,345 |
Reliable reverse proxy and load balancer for Minecraft: Bedrock Edition servers.
WARNING: This is brand new. Reliability/performance claims may not yet be true.
Project Status: Development is happening on branch v0.2
, with additions such as an API.
This crate name (trakt
) was previously used by a wrapper around trakt.tv API. If you are looking for this crate, check out its repository.
Make sure you have a recent version of the rust toolchain installed.
Run cargo install trakt
to build and install the latest published version.
Make sure you have a recent version of the rust toolchain installed.
git clone https://github.com/Unoqwy/trakt
cd trakt
cargo install --locked --path .
cargo build --release --locked && sudo cp target/release/trakt /usr/local/bin/trakt
Usage: trakt [OPTIONS]
Options:
-c, --config <FILE> Configuration file [default: config.toml]
-v, --verbose... Verbose level
--ignore-stdin Disable reading from standard input for commands
--no-color Disable colors from output
--raise-ulimit Raise the maximum number of open files allowed to avoid issues
--recovery-snapshot-file <FILE> Snapshot file for restart recovery [default: .trakt_recover]
-h, --help Print help (see more with '--help')
-V, --version Print version
To create the config file, it's recommended to copy config.example.toml from this repository. You can then edit it to fit your needs.
The configuration can be reloaded without restarting trakt. To do so, type reload
in the program's console.
A sample systemd service file is provided in pkg/trakt.service.
You can use sudo systemctl link $(realpath pkg/trakt.service)
to link it.
Before linking it, make sure the command in ExecStart
matches your installation. By default, you need the following:
/usr/local/bin/trakt
/etc/trakt.toml
Note: There is currently no practical way to dynamically reload the config when running trakt as a systemd service.