Skip to content

Settings

The server's settings are in /etc/flyingmonit.env – root and the service's user (OpenBSD: _flyingmonit, Debian: flyingmonit) can read it, it holds the secret key. After a change: on OpenBSD rcctl restart flyingmonit, on Debian systemctl restart flyingmonit@a (or @b: the slot in /var/lib/flyingmonit/slot.env).

Setting Meaning
PHX_HOST The host name the pages are reached at (links, and the check of the browser's origin)
PORT The port on BIND_ADDRESS (8090)
BIND_ADDRESS Where it listens (127.0.0.1: only the proxy, relayd or nginx, reaches it)
DATABASE_PATH The SQLite database (/home/flyingmonit/db/, Debian /var/lib/flyingmonit/db/)
SECRET_KEY_BASE Signs the sessions and protects stored secrets; a change logs every user out
RELEASE_TMP The release's working files (<home>/tmp); on OpenBSD its log too
POOL_SIZE Database connections (default 5)

The mail server for login codes (two-factor authentication) and the data retention are set on the pages: Admin › Settings.