]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/resolve/resolved.c
resolved: convert to the new scheme
[thirdparty/systemd.git] / src / resolve / resolved.c
index 6f2b4c114e9e09624c51c31f052cee2002e742c0..50989a6b0a33ff63f76ea36e0b0925606a010187 100644 (file)
@@ -7,10 +7,12 @@
 #include "sd-daemon.h"
 #include "sd-event.h"
 
+#include "bus-log-control-api.h"
 #include "capability-util.h"
 #include "daemon-util.h"
 #include "main-func.h"
 #include "mkdir.h"
+#include "resolved-bus.h"
 #include "resolved-conf.h"
 #include "resolved-manager.h"
 #include "resolved-resolv-conf.h"
@@ -28,7 +30,8 @@ static int run(int argc, char *argv[]) {
 
         r = service_parse_argv("systemd-resolved.service",
                                "Provide name resolution with caching using DNS, mDNS, LLMNR.",
-                               NULL,
+                               BUS_IMPLEMENTATIONS(&manager_object,
+                                                   &log_control_object),
                                argc, argv);
         if (r <= 0)
                 return r;