1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

s4:provision Don't bother with a template for the LDAP backend startup script.

This commit is contained in:
Andrew Bartlett 2009-11-24 11:00:12 +11:00
parent 625856f2cf
commit 5ea6f79775
2 changed files with 1 additions and 4 deletions

View File

@ -226,8 +226,7 @@ class LDAPBackend(ProvisionBackend):
def start(self):
self.slapd_command_escaped = "\'" + "\' \'".join(self.slapd_command) + "\'"
setup_file(self.setup_path("ldap_backend_startup.sh"), self.paths.ldapdir + "/ldap_backend_startup.sh", {
"SLAPD_COMMAND" : self.slapd_command_escaped})
open(self.paths.ldapdir + "/ldap_backend_startup.sh", 'w').write("#!/bin/sh\n" + self.slapd_command_escaped + "\n")
# Now start the slapd, so we can provision onto it. We keep the
# subprocess context around, to kill this off at the successful

View File

@ -1,2 +0,0 @@
#!/bin/sh
${SLAPD_COMMAND}