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

Implement 'list-units' systemctl call #33

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Conversation

Andeskjerf
Copy link
Contributor

@Andeskjerf Andeskjerf commented Oct 16, 2024

I needed to see if services were running or had failed and that was not possible using the list-unit-files call. So I added it!

It has breaking changes. list_units and list_units_full has been renamed to list_unit_files and list_unit_files_full respectively. I renamed them to reflect their appropriate calls, and because I couldn't think of a better function name for systemctl list-units :)

I can rename them to avoid breaking changes, just not sure what to call them.

Closes #32

@gwbres gwbres merged commit d6fdc0b into gwbres:main Oct 24, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

Implementation of systemctl list-units
2 participants