diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-03-27 04:21:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:39 -0500 |
commit | c95d46804680dc29cbf132f3391411f356c9ddbc (patch) | |
tree | bde89909c9fbf7e557a2597cab47f785c1cf1786 /source4/script/tests/Samba4.pm | |
parent | 90d8786d051f79ca100a211640b1bf9c737ec358 (diff) | |
download | samba-c95d46804680dc29cbf132f3391411f356c9ddbc.tar.gz samba-c95d46804680dc29cbf132f3391411f356c9ddbc.tar.bz2 samba-c95d46804680dc29cbf132f3391411f356c9ddbc.zip |
r21970: Ensure that Fedora DS can be shut down correctly with the stop script:
This needs the pid file to be in the right spot.
Andrew Bartlett
(This used to be commit cf9993a309ffe605610e4aaa2281576f319b5df0)
Diffstat (limited to 'source4/script/tests/Samba4.pm')
-rw-r--r-- | source4/script/tests/Samba4.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/tests/Samba4.pm b/source4/script/tests/Samba4.pm index 0a92f36dc8..54d1d62167 100644 --- a/source4/script/tests/Samba4.pm +++ b/source4/script/tests/Samba4.pm @@ -23,7 +23,7 @@ sub slapd_start($$$) # running slapd in the background means it stays in the same process group, so it can be # killed by timelimit if (defined($ENV{FEDORA_DS_PREFIX})) { - system("$ENV{FEDORA_DS_PREFIX}/sbin/ns-slapd -D $ENV{FEDORA_DS_DIR} -d$ENV{FEDORA_DS_LOGLEVEL} > $ENV{LDAPDIR}/logs 2>&1 &"); + system("$ENV{FEDORA_DS_PREFIX}/sbin/ns-slapd -D $ENV{FEDORA_DS_DIR} -d$ENV{FEDORA_DS_LOGLEVEL} -i $ENV{FEDORA_DS_PIDFILE}> $ENV{LDAPDIR}/logs 2>&1 &"); } else { my $oldpath = $ENV{PATH}; $ENV{PATH} = "/usr/local/sbin:/usr/sbin:/sbin:$ENV{PATH}"; |