commit dcc51eb273d462b467d58c3fd150b07e096b53d9 parent aa1a84a44c839a959f397affb66b15a11c888f6b Author: decentral1se <decentral1se@web> Date: Sat, 4 Apr 2026 10:15:20 +0200 feat: initial rauthy docs Diffstat:
| M | eik.mdwn | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/eik.mdwn b/eik.mdwn @@ -190,3 +190,22 @@ You need to `systemctl restart postfix` when you update the `main.cf`. You cand send a test mail with the following: echo "Subject: test from eik" | /usr/sbin/sendmail -v some@where.nice + +rauthy +------ + +### Build + +Install [rustup](https://rustup.rs), grab `musl-tools` and a copy of the Rauthy source code. You'll need to follow [the standard contrib docs](https://github.com/sebadob/rauthy/blob/main/CONTRIBUTING.md) to get a working development environment up and running. + +You can build a binary for eik with the following. Make sure to check out a tag and not build from main. Otherwise, we can potentially destroy our database schema if that binary makes it to eik and is run. + + sudo apt-get install musl-tools + rustup target add x86_64-unknown-linux-musl + cargo build --target=x86_64-unknown-linux-musl + +### Configuration + +The Rauthy binary lives in /usr/bin/rauthy and it's configuration is to be found in /etc/rauthy/config.toml. Here are the [configuration reference docs](https://sebadob.github.io/rauthy/config/config.html). + +You can `journalctl -fu rauthy` to follow along with the logs and the usual `systemctl restart rauthy` will restart Rauthy.