Download docker/startupscripts/init.sh from ZHZ1024/dify: direct link, hf CLI and curl.
- Browser
- Download file 418 Bytes
-
https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/docker/startupscripts/init.sh
- Command line
-
hf download hf://spaces/ZHZ1024/dify/docker/startupscripts/init.sh
-
curl -L -o init.sh https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/docker/startupscripts/init.sh
418 Bytes
| DB_INITIALIZED="/opt/oracle/oradata/dbinit" | |
| #[ -f ${DB_INITIALIZED} ] && exit | |
| #touch ${DB_INITIALIZED} | |
| if [ -f ${DB_INITIALIZED} ]; then | |
| echo 'File exists. Standards for have been Init' | |
| exit | |
| else | |
| echo 'File does not exist. Standards for first time Start up this DB' | |
| "$ORACLE_HOME"/bin/sqlplus -s "/ as sysdba" @"/opt/oracle/scripts/startup/init_user.script"; | |
| touch ${DB_INITIALIZED} | |
| fi | |