Commit f5a3628c authored by Lennart Poettering's avatar Lennart Poettering

initctl: talk to systemd via the abstract private bus

parent 4cd1fbcc
......@@ -296,7 +296,7 @@ static int server_init(Server *s, unsigned n_sockets) {
s->n_fifos ++;
}
if (!(s->bus = dbus_bus_get(DBUS_BUS_SYSTEM, &error))) {
if (!(s->bus = dbus_connection_open("unix:abstract=/org/freedesktop/systemd1/private", &error))) {
log_error("Failed to get D-Bus connection: %s", error.message);
goto fail;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment