Skip to content
Snippets Groups Projects
Verified Commit 41a07e1b authored by Thorsten Roßner's avatar Thorsten Roßner
Browse files

fix(startup): Change Import sequenc.e

parent ed43e45e
No related branches found
No related tags found
No related merge requests found
Pipeline #69107 passed with warnings
......@@ -6,8 +6,9 @@ me=$(basename "$0")
echo "- Running ${me}"
if [ -f /var/lib/univention-ldap/ldap-24-export.ldif ]; then
echo "- slapadd-ing /var/lib/univention-ldap/ldap-24-export.ldif, but not before deleting the directory /var/lib/univention-ldap/ldap"
echo "- slapadd-ing /var/lib/univention-ldap/ldap-24-export.ldif, but not before deleting the directories /var/lib/univention-ldap/ldap and ./internal"
rm -rf /var/lib/univention-ldap/ldap
rm -rf /var/lib/univention-ldap/internal
/usr/sbin/slapadd -l /var/lib/univention-ldap/ldap-24-export.ldif
mv /var/lib/univention-ldap/ldap-24-export.ldif /var/lib/univention-ldap/ldap-24-export.ldif-imported
else
......
......@@ -5,10 +5,10 @@ FROM artifacts.software-univention.de/nubus/images/ldap-server:0.18.1
#COPY 01-wait-for-me.sh /entrypoint.d
COPY 30-purge.sh /entrypoint.d
COPY 91-init-internal-database.sh /entrypoint.d
#COPY 91-init-internal-database.sh /entrypoint.d
COPY 95-slapadd-24-ldif.sh /entrypoint.d
#RUN chmod 555 /entrypoint.d/01-wait-for-me.sh
RUN chmod 555 /entrypoint.d/30-purge.sh
RUN chmod 555 /entrypoint.d/91-init-internal-database.sh
#RUN chmod 555 /entrypoint.d/91-init-internal-database.sh
RUN chmod 555 /entrypoint.d/95-slapadd-24-ldif.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.