mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Add start transient unit dbus method (#4237)
This commit is contained in:
@@ -664,6 +664,13 @@ class Systemd(DBusServiceMock):
|
||||
"""Restart a service unit."""
|
||||
return "/org/freedesktop/systemd1/job/7623"
|
||||
|
||||
@dbus_method()
|
||||
def StartTransientUnit(
|
||||
self, name: "s", mode: "s", properties: "a(sv)", aux: "a(sa(sv))"
|
||||
) -> "o":
|
||||
"""Start a transient service unit."""
|
||||
return "/org/freedesktop/systemd1/job/7623"
|
||||
|
||||
@dbus_method()
|
||||
def ListUnits(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user