diff --git a/dockerfiles/start.sh b/dockerfiles/start.sh index a22fd5c4..28e0da64 100755 --- a/dockerfiles/start.sh +++ b/dockerfiles/start.sh @@ -116,12 +116,12 @@ echo "[INSTALL] Copy starter pialert.db and pialert.conf if they don't exist" # DANGER ZONE: ALWAYS_FRESH_INSTALL if [ "$ALWAYS_FRESH_INSTALL" = true ]; then - echo "[INSTALL] ❗ ALERT db and config folders are cleared because the ALWAYS_FRESH_INSTALL is set to: $ALWAYS_FRESH_INSTALL❗" + echo "[INSTALL] ❗ ALERT /db and /config folders are cleared because the ALWAYS_FRESH_INSTALL is set to: $ALWAYS_FRESH_INSTALL❗" # Delete content of "$INSTALL_DIR/pialert/config/" rm -rf "$INSTALL_DIR/pialert/config/"* - # Delete content of "$FILEDB" - rm -rf "$FILEDB"/* + # Delete content of "$INSTALL_DIR/pialert/db/" + rm -rf "$INSTALL_DIR/pialert/db/"* fi