First run
Files a host keeps
Section titled “Files a host keeps”zaun-host init --data-dir D creates D (mode 0700) with:
| File | What it is |
|---|---|
host.key |
the host’s signing key (mode 0600) |
simplex.key |
the SimpleX store’s passphrase (mode 0600), unless you use ZAUN_HOST_PASSPHRASE |
host.db |
the communities’ state (SQLite) |
zaun-host.toml |
the configuration, with no secrets in it |
simplex/ |
the SimpleX client’s encrypted store and attachment files |
bots/ |
installed bots’ compiled code cache and storage |
init refuses to overwrite any of them.
Health checks
Section titled “Health checks”zaun-host status --data-dir D # config, files and permissions; non-zero exit on a failurezaun-host doctor --data-dir D # offline read-only checks, each ok / warn / FAILBoth connect to nothing and are safe while the host is running.
Address and key
Section titled “Address and key”zaun-host address --data-dir D # the SimpleX address (after the first run)zaun-host id --data-dir D # the host id and public keyAn owner needs both to create a community on your host.
Who may create communities
Section titled “Who may create communities”community_creation in zaun-host.toml decides:
| Value | Who may create a community |
|---|---|
"closed" (default) |
nobody |
"allow_list" |
owners whose community ids are listed in creation_allow_list |
"open" |
anyone who connects (rate-limited) |
For your own community, open creation briefly (see the quick start), or
create the community’s root key first and allow-list its id (create_community_with_root in
zaun-client).
The host logs to stderr (good for systemd and containers) at log_level (off, error,
warn, info, debug). It never logs message content, keys, passphrases or invite links.