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:
parent
625856f2cf
commit
5ea6f79775
@ -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
|
||||
|
@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
${SLAPD_COMMAND}
|
Loading…
x
Reference in New Issue
Block a user