summaryrefslogtreecommitdiff
path: root/server/infopipe/infopipe.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-03-20 11:10:56 -0400
committerSimo Sorce <ssorce@redhat.com>2009-03-20 11:14:57 -0400
commitde69927053fcc56a337af4ab0c93d24444eb6c24 (patch)
treedb4ee2b6d5aac4e217c2deb94d45cb0f09c08ade /server/infopipe/infopipe.c
parent7d5bf9a11d60e5330e12d5d94ebba8d6a4606eb0 (diff)
downloadsssd-de69927053fcc56a337af4ab0c93d24444eb6c24.tar.gz
sssd-de69927053fcc56a337af4ab0c93d24444eb6c24.tar.bz2
sssd-de69927053fcc56a337af4ab0c93d24444eb6c24.zip
Enhance server_setup
Now it can load from scratch default configuration that is valid for all daemons. First thing, make it possible for each daemon/provider to set its own debug level in its configuration entry.
Diffstat (limited to 'server/infopipe/infopipe.c')
-rw-r--r--server/infopipe/infopipe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/infopipe/infopipe.c b/server/infopipe/infopipe.c
index 8d4bfeef..535d41e3 100644
--- a/server/infopipe/infopipe.c
+++ b/server/infopipe/infopipe.c
@@ -34,6 +34,8 @@
#include "infopipe/infopipe.h"
#include "infopipe/infopipe_private.h"
+#define INFP_CONF_ENTRY "config/services/info"
+
struct infp_ctx;
static int service_identity(DBusMessage *message, struct sbus_conn_ctx *sconn)
@@ -737,7 +739,7 @@ int main(int argc, const char *argv[])
poptFreeContext(pc);
/* set up things like debug , signals, daemonization, etc... */
- ret = server_setup("sssd[infp]", 0, &main_ctx);
+ ret = server_setup("sssd[info]", 0, INFP_CONF_ENTRY, &main_ctx);
if (ret != EOK) return 2;
ret = infp_process_init(main_ctx,