mooncake agentd run¶
Run the agentd daemon in the foreground
Description¶
Started by the systemd unit / launchd plist / Task Scheduler entry that agentd bootstrap or fleet bootstrap installs. Operators rarely invoke this directly outside of debugging.
Flags¶
| Flag | Type | Default | Description |
|---|---|---|---|
--system |
bool | false | Run in system mode (Unix: /run/mooncake, /var/lib/mooncake. Windows: %ProgramData%\Mooncake). Default: per-user. |
--socket |
string | - | Unix socket path. Pass --socket="" to disable the unix listener (TCP-only mode, requires --bind). |
--state-dir |
string | - | Override the state directory |
--bind |
string | - | TCP bind address for fleet access (e.g. 0.0.0.0:7878). Empty disables TCP unless --socket="" forces TCP-only mode. |
--token-file |
string | - | Bearer-token file path. Generated on first start if missing. |
--max-sync-bytes |
int64 | 0 |
Per-file size cap for PUT /v1/files (default 100 MiB). |
--log-level |
string | info |
Log level: debug, info, warn, error |
--no-mdns |
bool | false | Disable mDNS advertise (_mooncake._tcp.local). Default: advertise when --bind is set. |
--name |
string | - | Override the mDNS instance name. Defaults to the OS hostname with .local stripped. Useful on macOS to dodge Bonjour collision renames. |