Skip to content

Enable/disable units#69

Merged
rgwood merged 5 commits intomasterfrom
enable-disable
Jan 15, 2026
Merged

Enable/disable units#69
rgwood merged 5 commits intomasterfrom
enable-disable

Conversation

@rgwood
Copy link
Copy Markdown
Owner

@rgwood rgwood commented Jan 11, 2026

Adds support for displaying disabled systemd services (which aren't returned by the standard ListUnits DBus call) by fetching unit files via ListUnitFilesByPatterns in a background task every 5 seconds. Disabled services now appear in the service list and can be enabled/disabled from the action menu. The Details panel now shows the enablement state (enabled/disabled/masked) with color coding (green/yellow/red). Closes #3.

This needs some more testing. I'm slightly concerned about the UX; loading unit files takes longer than ListUnits so there is a bit of a flicker between "time when we have loaded units" and "time when we have all units". Not sure if that's avoidable.

@rgwood rgwood marked this pull request as ready for review January 15, 2026 03:38
@rgwood rgwood merged commit aed5bc9 into master Jan 15, 2026
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.

Support enabling / disabling services

1 participant