+-------------------------------------------------------------------------------
| Running azorius on OpenBSD
+-------------------------------------------------------------------------------

Initial configuration
=====================

azorius expects to be fronted by a TLS terminating reverse proxy.
Make sure to pass the Host header for nginx(8)
	proxy_set_header Host $http_host;

Setup
=====

Please see /usr/local/share/doc/azorius

azorius(8)
----------

azorius# doas -su _azorius
azorius$ umask 077; cd /var/azorius && azorius init
listenaddr: localhost:31337
servername: azorius.example.com
username: puffy
password: OxychromaticBlowfishSwatDynamite
done.
azorius$ exit

azorius# rcctl enable azorius
azorius# rcctl start azorius

Azorius at https://azorius.example.com

Database Upgrade
================

If you are upgrading from a version before 0.3.4, you will need to upgrade
the database format:

Stop the old azorius process.
azorius# rcctl stop azorius

Perform the upgrade with the upgrade command.
azorius# doas -su _azorius
azorius$ umask 077; cd /var/azorius && cp azorius.db backup.db
azorius$ azorius upgrade
azorius$ exit

Restart.
azorius# rcctl start azorius
