systemctl icon indicating copy to clipboard operation
systemctl copied to clipboard

Does not work on Arch linux

Open RoastBeefer00 opened this issue 1 year ago • 3 comments

I am importing using use systemctl::*; and running the following code:

let services = list_units(None, None).unwrap();
println!("Services: {:?}", services);

and I get Services: [] no matter what I do.

I validated that systemctl is in /usr/bin/systemctl and when I run the actual commands locally I do not have any problems. Am I missing something obvious here?

RoastBeefer00 avatar May 20 '23 01:05 RoastBeefer00