Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RAC outpost #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

dminuoso
Copy link

@dminuoso dminuoso commented Mar 6, 2025

Fixes #47

Seems to work fine.

One point of interest, services.authentik-rac.enable would conflict with services.guacamole-server.enable because authentik-rac starts and manages guacd internally. We could perhaps mkForce the latter to false?

ExecStart = "${config.services.authentik.authentikComponents.gopkgs}/bin/rac";
EnvironmentFile = mkIf (cfg.environmentFile != null) [ cfg.environmentFile ];
Restart = "on-failure";
BindReadOnlyPaths = "${lib.getExe pkgs.guacamole-server}:/opt/guacamole/sbin/guacd";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's more reasonable to just patch the path int he source code given we're compiling the stuff ourselves already.
We have quite a large closure already, so I'd just do it by default it and see if somebody complains.
This has the side-effect this is also usable outside of the unit.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can already run it outside the unit with systemd-run, plus it just seems a bit more effort to create and maintain a patch for an exceedingly unlikely case.

But I do not feel strongly about this, if you prefer I'll make it a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RAC outpost missing
2 participants