ordinaryd 0.5.51

Ordinary Server
Documentation

Ordinary Server

crates.io docs.rs dependency status License: AGPL v3

Server daemon for Ordinary.

The Ordinary Server is primarily built on axum and Tokio.

OpenAPI docs are generated with Utoipa.

CNAME verification is performed using Hickory DNS.

Installation

From releases or using cargo.

cargo install ordinaryd

Quick Start

Initialize a new instance.

ordinaryd --init --password '******' --environment development --api-domain ordinaryd.local --api-contacts you@example.com --provision localhost --insecure --port 4433 --redirect-port 8080 --storage-size 10000000 --stdio-logs --swagger

Jsonart initialized instance.

ordinaryd --environment development --api-domain ordinaryd.local --api-contacts you@example.com --provision localhost --insecure --port 4433 --redirect-port 8080 --storage-size 10000000 --stdio-logs --swagger

CLI Documentation

See: DOCS.md.

On Shutdown (terminate/ctrl-c)

When shutdown, the daemon will "gracefully" shut down all open http1/http2 connections via hyper's graceful_shutdown method; this should allow for all connection dependent tasks to resolve prior to termination.

Non-connection based background tasks (cache and log syncing) still need to be set up to run a final time prior to termination and after all connections have been closed.