Przeglądaj źródła

remove setup files after setup

Bertrand Gouny 9 lat temu
rodzic
commit
902cd13674
1 zmienionych plików z 3 dodań i 0 usunięć
  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