dbus: Use --syslog-only instead of Finit built-in log redirect
#include "conf.h"
#define DAEMON "dbus-daemon"
-#define ARGS "--nofork --system"
+#define ARGS "--nofork --system --syslog-only"
#define DESC "D-Bus message bus daemon"
static void setup(void *arg)
@@ -58,7 +58,7 @@ static void setup(void *arg)
erase("/var/run/dbus/pid");
/* Register service with Finit */
- snprintf(line, sizeof(line), "[S12345] log:prio:daemon.info,tag:dbus %s %s -- %s", cmd, ARGS, DESC);
+ snprintf(line, sizeof(line), "[S12345] %s %s -- %s", cmd, ARGS, DESC);
if (service_register(SVC_TYPE_SERVICE, line, global_rlimit, NULL))
_pe("Failed registering %s", DAEMON);
free(cmd);
