* Bind the server to a Unix-domain socket.
*/
CtdlRegisterServiceHook(0,
- "citadel.socket",
+#ifndef HAVE_RUN_DIR
+ "."
+#else
+ RUN_DIR
+#endif
+ "/citadel.socket",
citproto_begin_session,
do_command_loop,
do_async_loop);
end_critical_section(S_WORKER_LIST);
/* Create the indexer thread. */
- create_indexer_thread();
+ create_maintenance_threads();
/* This thread is now useless. It can't be turned into a worker
* thread because its stack is too small, but it can't be killed