Skip to content

starkone-panel Binary

starkone-panel is the main server process that runs the web UI and REST API.

Usage

The binary is managed by systemd:

systemctl start starkone
systemctl stop starkone
systemctl restart starkone
systemctl status starkone

Manual Start (for debugging)

/usr/sbin/starkone-panel

The binary reads /etc/starkone/starkone.env for configuration.

Environment Variables

Variable Default Description
PORT 2087 Listen port
DB_PATH /etc/starkone/starkone.db SQLite database path
JWT_SECRET (generated) JWT signing secret
GIN_MODE release Gin framework mode (debug/release)

Startup Sequence

  1. Load configuration from /etc/starkone/starkone.env
  2. Open SQLite database
  3. Run pending migrations from /usr/share/starkone/migrations/
  4. Start WebSocket hub
  5. Register HTTP routes
  6. Start listening on 0.0.0.0:PORT

Log Output

In release mode, logs are minimal. For verbose output:

GIN_MODE=debug /usr/sbin/starkone-panel

Or check:

journalctl -u starkone -f