Fixed start, stop, convertdomain with get_installedapps

This commit is contained in:
root 2024-01-16 12:44:05 +00:00
parent b1dba2fa32
commit 5199db9998
3 changed files with 4 additions and 4 deletions

View File

@ -186,8 +186,8 @@ convert_ldap() {
start_service_convert "ldap" "nc -z $SERVICE_IP 636 &> /dev/null" start_service_convert "ldap" "nc -z $SERVICE_IP 636 &> /dev/null"
# This imports the modified LDAP configuration above # This imports the modified LDAP configuration above
docker exec ldap bash -c "slapadd -v -l /root/convertdomain1.ldif" &> /dev/null docker exec ldap bash -c "slapadd -v -l /root/convertdomain1.ldif"
[ $? -ne 0 ] && failcheck "Couldn't slapadd convertdomain1.ldif inside ldap container" # [ $? -ne 0 ] && failcheck "Couldn't slapadd convertdomain1.ldif inside ldap container"
echo -ne "done." echo -ne "done."
} }

View File

@ -105,7 +105,7 @@ startservice_all() {
done done
} }
get_installedapps #get_installedapps
[ $# != 1 ] && usage [ $# != 1 ] && usage
SERVICE=$1 SERVICE=$1

View File

@ -19,7 +19,7 @@ stopservice_all() {
done done
} }
get_installedapps #get_installedapps
[ $# != 1 ] && usage [ $# != 1 ] && usage
SERVICE=$1 SERVICE=$1