- Makefile 63.7%
- Shell 36.3%
|
Some checks failed
Build FreeBSD package / build (haswell, 14) (push) Has been cancelled
Build FreeBSD package / build (haswell, 15) (push) Has been cancelled
Build FreeBSD package / build (generic, 14) (push) Has been cancelled
Build FreeBSD package / build (generic, 15) (push) Has been cancelled
|
||
|---|---|---|
| .forgejo/workflows | ||
| .woodpecker | ||
| freebsd | ||
| .gitmodules | ||
| README.md | ||
continuwuity-bsd
Build tools for releasing BSD packages for the continuwuity Matrix homeserver.
Installation instructions
FreeBSD
I'm working on creating a package repository which can handle signing and automatic updates. In the meantime, the package can be installed manually:
-
Download the latest package build for your FreeBSD version and architecture from the releases page. There are two variants each for FreeBSD 14 and 15:
generic: General-purpose build compatible with nearly all processorshaswell: Optimized1 build compatible with Intel Haswell-and-later and AMD Excavator-and-later processors (roughly 2014 and onward).
Builds are currently available for AMD64 architectures only. ARM support is planned.
-
Install the RocksDB package: 2
pkg install rocksdb
- Install the continuwuity package:
pkg add continuwuity-generic-0.5.5-freebsd15-amd64.pkg
- Enable the continuwuity service:
sysrc continuwuity_enable=YES
-
Edit the continuwuity config file at
/usr/local/etc/continuwuity/continuwuity.toml:- Set a server name using the
server_nameoption - If your reverse proxy will run on another system, update the
addressoption to listen on a non-loopback interface, e.g.address = ["0.0.0.0", "::"]to listen on all IPv4 and IPv6 addresses
- Set a server name using the
-
Configure your reverse proxy using the continuwuity docs.
-
Start continuwuity and check its logs:
service continuwuity start
tail -f /var/log/daemon.log | grep continuwuity
Important
There's currently a bug that causes the terminal control characters for colors to appear in the log messages, which may obscure the first-run registration token.
In the message
...using the registration token ^[[1;32mLw8zPjL2fqb1clLq^[[0m, the registration token is actuallyLw8zPjL2fqb1clLq(i.e. the portion between^[[1;32mand^[[0m)
-
Specifically the AVX2 instruction set, which RocksDB can take advantage of. ↩︎
-
The FreeBSD package is built against the latest version of
rocksdbin thequarterlypackage repo. If you are using thelatestrepo instead, you may need to downgrade the package in order for continuwuity to run. ↩︎