ostool-server 0.1.1

Server for managing development boards, serial sessions, and TFTP artifacts
docs.rs failed to build ostool-server-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

ostool-server

ostool-server is the board management server for ostool.

It provides:

  • board allocation and lease management
  • remote serial terminal access
  • TFTP session file handling
  • a systemd-friendly deployment model on Linux

Install

Install directly with curl

The install script can be executed directly from GitHub:

curl -fsSL https://raw.githubusercontent.com/drivercraft/ostool/main/ostool-server/scripts/install.sh | bash

The script will:

  • install ostool-server with cargo install
  • install the binary to /usr/local/bin/ostool-server
  • stop an existing ostool-server systemd service if present
  • recreate /etc/ostool-server
  • install /etc/systemd/system/ostool-server.service
  • start the service if you confirm it

If the script is executed remotely and the local ostool-server.service template is unavailable, it will automatically download the matching service template from:

https://raw.githubusercontent.com/drivercraft/ostool/main/ostool-server/scripts/ostool-server.service

Install from local source

If you already have the repository locally:

bash ostool-server/scripts/install.sh --local ./ostool-server

Configuration

The default config path is:

/etc/ostool-server/config.toml

If the config file does not exist, ostool-server will create it automatically on first start and write the generated defaults back to disk.

The default listen address is:

0.0.0.0:2999

Useful Commands

systemctl status ostool-server
systemctl restart ostool-server
journalctl -u ostool-server -f
vi /etc/ostool-server/config.toml