Explorar o código

remove setup files after setup

Bertrand Gouny %!s(int64=9) %!d(string=hai) anos
pai
achega
902cd13674
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      image/service/slapd/container-start.sh

+ 3 - 0
image/service/slapd/container-start.sh

@@ -299,6 +299,9 @@ EOF
   while [ -e /proc/$SLAPD_PID ]; do sleep 0.1; done
   echo "[ok]"
 
+  echo "First start setup is done, remove setup files"
+  rm -rf ${SERVICE_DIR}/slapd/assets/config
+
   touch $FIRST_START_SETUP_DONE
 fi