Skip to content

Does not work on NixOS #29

@ChocolateLoverRaj

Description

@ChocolateLoverRaj

This code doesn't work:

const SYSTEMCTL_PATH: &str = "/usr/bin/systemctl";

With the error Error: No such file or directory (os error 2). This is because /usr/bin/systemctl does not exist in NixOS. systemctl is in the path in NixOS, so it would be better if the default path just called systemctl instead of assuming a certain path for systemctl (/usr/bin should be in path anyways).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions