diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-27 22:30:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-28 02:10:10 +0200 |
commit | 21b735e798c580e7af8c33ace9f8565860b7f8df (patch) | |
tree | 8d9b07c8feb736acb556eac9ef74d1eeda9ae973 /src/core/socket.c | |
parent | d56cc298808b2dbfa28ae893d6f47f34df3196b1 (diff) |
core: add unit_dbus_interface_from_type() to unit-name.h
Let's add a way to get the type-specific D-Bus interface of a unit from
either its type or name to src/basic/unit-name.[ch]. That way we can
share it with the client side, where it is useful in tools like cgls or
machinectl.
Also ports over machinectl to make use of this.
Diffstat (limited to 'src/core/socket.c')
-rw-r--r-- | src/core/socket.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/socket.c b/src/core/socket.c index a387057473..08efc3754c 100644 --- a/src/core/socket.c +++ b/src/core/socket.c @@ -2709,7 +2709,6 @@ const UnitVTable socket_vtable = { .reset_failed = socket_reset_failed, - .bus_interface = "org.freedesktop.systemd1.Socket", .bus_vtable = bus_socket_vtable, .bus_set_property = bus_socket_set_property, .bus_commit_properties = bus_socket_commit_properties, |