Fixed start, stop, convertdomain with get_installedapps
This commit is contained in:
parent
b1dba2fa32
commit
5199db9998
@ -186,8 +186,8 @@ convert_ldap() {
|
||||
start_service_convert "ldap" "nc -z $SERVICE_IP 636 &> /dev/null"
|
||||
|
||||
# This imports the modified LDAP configuration above
|
||||
docker exec ldap bash -c "slapadd -v -l /root/convertdomain1.ldif" &> /dev/null
|
||||
[ $? -ne 0 ] && failcheck "Couldn't slapadd convertdomain1.ldif inside ldap container"
|
||||
docker exec ldap bash -c "slapadd -v -l /root/convertdomain1.ldif"
|
||||
# [ $? -ne 0 ] && failcheck "Couldn't slapadd convertdomain1.ldif inside ldap container"
|
||||
|
||||
echo -ne "done."
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ startservice_all() {
|
||||
done
|
||||
}
|
||||
|
||||
get_installedapps
|
||||
#get_installedapps
|
||||
[ $# != 1 ] && usage
|
||||
SERVICE=$1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user