-
Notifications
You must be signed in to change notification settings - Fork 9
04 Running Tetra‐BlueStation
github-actions[bot] edited this page Mar 29, 2026
·
8 revisions
./target/release/bluestation-bs ./config.tomlFor improved scheduling stability (lower jitter), you can run the process with a real-time priority using chrt:
chrt -f 73 ./target/release/bluestation-bs ./config.tomlNote: Real-time scheduling typically requires elevated privileges and appropriate system limits/capabilities.
A sample systemd service file is provided in contrib/systemd/bluestation-bs.service. It runs the process with real-time scheduling priority (equivalent to chrt -f 73) and restarts it automatically on failure.
Edit the file to match your setup before installing. The three values to adapt are:
-
UserandGroup: the user account that will run the service -
WorkingDirectory: path to thetetra-bluestationfolder -
ExecStart: full paths to the binary and yourconfig.toml
Then install and enable the service:
sudo cp contrib/systemd/bluestation-bs.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable bluestation-bs
sudo systemctl start bluestation-bsCommon management commands:
systemctl status bluestation-bs # show current state
systemctl stop bluestation-bs # stop the service
systemctl disable bluestation-bs # disable start at boot
journalctl -u bluestation-bs --output=cat -f # follow the logIn the config file, uncomment this line:
debug_log = "./verbose_log.txt"TODO: re-write and explain the usage.
Append | grep -v "phy\|common\|lmac" to filter out some logs.