Closed Julow closed 1 year ago
I think this is fine, but would like to hear from @reynir before merging.
The systemd service for the TLS endpoint needs to pass the public/private keys as argument. I'm not sure how to package that? The nixos module is an example :)
I added systemd examples for albatross-tls-endpoint. If you could take a look and see if it looks reasonable I'll merge this. Sorry for the long process.
Thanks! No need to make an example that runs immediately indeed.
Add support to
albatross-tls-endpoint
for listening on a systemd socket. This is useful to let systemd open priviledge ports safely.The '--port' option is kept for compatibility and could also be added to the other commands thanks to a reusable cmdliner term.