hirogateway.
Default storage locations
- Windows:
%LOCALAPPDATA%\\hirogateway - macOS:
~/Library/Application Support/hirogateway - Linux:
~/.local/share/hirogateway
Directory structure
registry.json format
registry.json tracks all instances and the default instance.
Fields
default_instance: instance name used when--instanceis omittedinstances: map keyed by instance namename: instance namepath: absolute path to instance folderhost: bind hostport: bind port
config.json format
Each instance has its own config.json.
Fields
desktop_public_key: mandatory trust root configured atinstance createlog_dir: optional persistent log directory override- empty string means default:
<instance>/logs
- empty string means default:
gateway.pid
gateway.pid stores the active process ID for stop/status operations.
- created on background
start - removed on successful
stopor when stale PID is detected
Logs
Logs are written to:config.log_dirif configured- otherwise
<instance>/logs
hirogateway start --log-dir <path> for a runtime-only override.