forked from lix-project/hydra
LDAPContext: don't background slapd
This commit is contained in:
parent
8bce8109e3
commit
4837a68d8d
|
@ -182,6 +182,9 @@ sub _spawn {
|
||||||
|
|
||||||
if ($pid == 0) {
|
if ($pid == 0) {
|
||||||
exec("${\$self->{'_openldap_source'}}/libexec/slapd",
|
exec("${\$self->{'_openldap_source'}}/libexec/slapd",
|
||||||
|
# A debug flag `-d` must be specified to avoid backgrounding, and an empty
|
||||||
|
# argument means no additional debugging.
|
||||||
|
"-d", "",
|
||||||
# "-d", "conns", "-d", "filter", "-d", "config",
|
# "-d", "conns", "-d", "filter", "-d", "config",
|
||||||
"-F", $self->{"_slapd_dir"}, "-h", $self->server_url()) or die "Could not start slapd";
|
"-F", $self->{"_slapd_dir"}, "-h", $self->server_url()) or die "Could not start slapd";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue