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)¶
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¶
- Load configuration from
/etc/starkone/starkone.env - Open SQLite database
- Run pending migrations from
/usr/share/starkone/migrations/ - Start WebSocket hub
- Register HTTP routes
- Start listening on
0.0.0.0:PORT
Log Output¶
In release mode, logs are minimal. For verbose output:
Or check: