-
Notifications
You must be signed in to change notification settings - Fork 37
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
RFE: Add GetUnitFileState API #934
Labels
Milestone
Comments
mwperina
added a commit
to mwperina/bluechi
that referenced
this issue
Sep 27, 2024
- Adds support for GetUnitFileState API on controller and node - Adds is-enabled command to bluechictl - Adds integration test Fixes: eclipse-bluechi#934 Signed-off-by: Martin Perina <[email protected]>
mwperina
added a commit
to mwperina/bluechi
that referenced
this issue
Sep 27, 2024
- Adds support for GetUnitFileState API on controller and node - Adds is-enabled command to bluechictl - Adds integration test Fixes: eclipse-bluechi#934 Signed-off-by: Martin Perina <[email protected]>
mwperina
added a commit
to mwperina/bluechi
that referenced
this issue
Sep 30, 2024
- Adds support for GetUnitFileState API on controller and node - Adds is-enabled command to bluechictl - Adds integration test Fixes: eclipse-bluechi#934 Signed-off-by: Martin Perina <[email protected]>
mwperina
added a commit
to mwperina/bluechi
that referenced
this issue
Sep 30, 2024
- Adds support for GetUnitFileState API on controller and node - Adds is-enabled command to bluechictl - Adds integration test Fixes: eclipse-bluechi#934 Signed-off-by: Martin Perina <[email protected]>
mwperina
added a commit
to mwperina/bluechi
that referenced
this issue
Oct 1, 2024
- Adds support for GetUnitFileState API on controller and node - Adds is-enabled command to bluechictl - Adds integration test Fixes: eclipse-bluechi#934 Signed-off-by: Martin Perina <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please describe what you would like to see
Is order to be able to get status of a single systemd unit file it's necessary to extend BlueChi with
GetUnitFileState
API provided in the systemd Manager API (see the freedesktop systemd documentation.Please describe the solution you'd like
bluechi-controller
: Add new API methodGetUnitFileState
on public DBus for interfaceorg.eclipse.bluechi.Node
and delegate tobluechi-agent
bluechi-agent
: Add new API methodGetUnitFileState
on internal DBus and delegate to systemd busbluechictl
: Add new commandbluechictl is-enabled
, which should callGetUnitFileState
to return status of a unit on a nodePlease describe your use case
bluechictl is-enabled <NODE> <UNIT FILE>
would be able to return status of<UNIT FILE>
on<NODE>
equal to status returned bysystemctl is-enabled <UNIT FILE>
directly on<NODE>
The text was updated successfully, but these errors were encountered: