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

Comparison with zbus_systemd? #30

Open
ChocolateLoverRaj opened this issue Aug 11, 2024 · 0 comments
Open

Comparison with zbus_systemd? #30

ChocolateLoverRaj opened this issue Aug 11, 2024 · 0 comments

Comments

@ChocolateLoverRaj
Copy link

ChocolateLoverRaj commented Aug 11, 2024

I wanted to programmatically restart a systemd service, and since I didn't want to set the SYSTEMCTL_PATH variable, I used https://github.com/lucab/zbus_systemd instead. The advantage to using the zbus crate is that it is less hacky / unstable because it uses D-Bus instead of the CLI. Can zbus_systemd replace all uses of this crate? Are there some scenarios where this crate is still the better choice?

Even if zbus_systemd can't replace this crate entirely, it would still be good to mention in the README that zbus_systemd might be the better way of controlling systemd with Rust.

After I made this issue I realized that #2 already exists, but nothing was really done with that issue, so I think replacing this crate / mentioning the zbus crate in the README should be reconsidered.

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

No branches or pull requests

1 participant