diff --git a/src/gcube-start-container.sh b/src/gcube-start-container.sh index 29157a6..5c681b9 100644 --- a/src/gcube-start-container.sh +++ b/src/gcube-start-container.sh @@ -23,7 +23,9 @@ # fi mkdir -p /gcube-data/db/{data,logs,attachments} -mkdir -p /gcube-data/persisted +mkdir -p $NFS_GCORE_PATH/persisted +mkdir $HOME/.gcore && chown gcube:gcube $HOME/.gcore +ln -s $NFS_GCORE_PATH/persisted $HOME/.gcore/ if [ -z "$GLOBUS_LOCATION" ]