From: Stefan Metzmacher Date: Mon, 14 Apr 2008 23:50:13 +0000 (+0200) Subject: smbd: merge "smbd:backgroundqueue=no" option from the v3-0-ctdb tree X-Git-Tag: samba-3.3.0pre1~2641^2~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16d295d466eb18e3bccce6fb26d53012d5f2c3e8;p=thirdparty%2Fsamba.git smbd: merge "smbd:backgroundqueue=no" option from the v3-0-ctdb tree metze --- diff --git a/source/smbd/server.c b/source/smbd/server.c index b71d6271f25..108a55033c0 100644 --- a/source/smbd/server.c +++ b/source/smbd/server.c @@ -1344,8 +1344,10 @@ extern void build_options(bool screen); smbd is launched via inetd and we fork a copy of ourselves here */ - if ( is_daemon && !interactive ) - start_background_queue(); + if (is_daemon && !interactive + && lp_parm_bool(-1, "smbd", "backgroundqueue", true)) { + start_background_queue(); + } if (!open_sockets_smbd(is_daemon, interactive, ports)) exit(1);