lucab / libsystemd-rs

A pure-Rust client library to work with systemd
https://crates.io/crates/libsystemd
Other
105 stars 19 forks source link

Socket activation crate? #29

Closed jabedude closed 4 years ago

jabedude commented 5 years ago

Hello! I wrote a tiny rust library for socket activated daemons written in rust to receive the socket file descriptor from systemd (sd_listen_fds in libsystemd). Would you be interested in using it in this crate?

lucab commented 5 years ago

Sure! Do you have the source for that public somewhere?

jabedude commented 5 years ago

Sure thing! Sorry I didn't include it originally: https://github.com/jabedude/sd-daemon-rs

lucab commented 5 years ago

Nice, I like the code overall. I think there is some minor polishing that could be done around error-unwrapping and docs. If you open a PR with that, I'll be happy to review.

jabedude commented 5 years ago

Will do! I'll polish it up a bit and then open the PR