summaryrefslogtreecommitdiffstats
path: root/source/web
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-21 13:16:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:39 -0500
commitc3a9f30e2a12cc852c9fa3a7d161f5c6ee0694ce (patch)
tree8ba267016811fe3d27b0115ca1b5c041353f25d6 /source/web
parentdf6d69e78fb0f604a7bfc34fc9ac8f391252520d (diff)
downloadsamba-c3a9f30e2a12cc852c9fa3a7d161f5c6ee0694ce.tar.gz
samba-c3a9f30e2a12cc852c9fa3a7d161f5c6ee0694ce.tar.xz
samba-c3a9f30e2a12cc852c9fa3a7d161f5c6ee0694ce.zip
r14618: add --no-process-group to all server programms
to make the following possible: timelimit 20000 bin/nmbd -F -S --no-process-group timelimit 20000 bin/smbd -F -S --no-process-group this is needed to 'make test' working without losing child processes metze
Diffstat (limited to 'source/web')
-rw-r--r--source/web/startstop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/web/startstop.c b/source/web/startstop.c
index 8f28748918f..44945cd5362 100644
--- a/source/web/startstop.c
+++ b/source/web/startstop.c
@@ -36,7 +36,7 @@ void start_smbd(void)
slprintf(binfile, sizeof(pstring) - 1, "%s/smbd", dyn_SBINDIR);
- become_daemon(True);
+ become_daemon(True, False);
execl(binfile, binfile, "-D", NULL);
@@ -56,7 +56,7 @@ void start_nmbd(void)
slprintf(binfile, sizeof(pstring) - 1, "%s/nmbd", dyn_SBINDIR);
- become_daemon(True);
+ become_daemon(True, False);
execl(binfile, binfile, "-D", NULL);
@@ -76,7 +76,7 @@ void start_winbindd(void)
slprintf(binfile, sizeof(pstring) - 1, "%s/winbindd", dyn_SBINDIR);
- become_daemon(True);
+ become_daemon(True, False);
execl(binfile, binfile, NULL);