+-------------------------------------------------------------------------------
| Running soju on OpenBSD
+-------------------------------------------------------------------------------

Creating a database
===================

soju requires a database to be created before starting the daemon.
This can be done as follows:

$ doas -u _soju sojudb -config /etc/soju/config create-user <username> -admin

This will create the database under /var/soju/main.db or as specified
in /etc/soju/config.


Using TLS
=========

By default, soju listens with TLS over TCP on port 6679. However
for this to work, it is necessary to first configure certificates
under /etc/soju/config e.g.:

...
listen ircs://
tls /etc/ssl/example.com.fullchain.pem /etc/ssl/private/example.com.key
...

Note that certificate and key should be readable by the _soju user.
