go-systemd icon indicating copy to clipboard operation
go-systemd copied to clipboard

Module for reading service credentials

Open cedws opened this issue 3 years ago • 1 comments

I would like a module that can read credentials when the current program is running as a systemd service.

This should be fairly simple and a small amount of code. I'm willing to send a PR at some point.

cedws avatar Jun 17 '22 17:06 cedws

Thanks, that would be much appreciated! If you want a comparison with native bindings for another language (Rust), there is this one still in fly: https://github.com/lucab/libsystemd-rs/pull/98

lucab avatar Jun 20 '22 12:06 lucab