+-------------------------------------------------------------------------------
| 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 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/soju/example.com.fullchain.pem /etc/soju/example.com.key
...

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