Initial Commit
This commit is contained in:
9
scripts/bootstrap.sh
Executable file
9
scripts/bootstrap.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
# no database found - we need the setup
|
||||
if [ $(ls ${GENEWEBDB}/*.gwb 2>/dev/null|wc -l) -eq 0 ]; then
|
||||
/start_setup.sh
|
||||
fi
|
||||
|
||||
/usr/bin/gwd -lang ${LANGUAGE} -hd ${GENEWEBSHARE} -dd ${GENEWEBDOC} -bd ${GENEWEBDB} -p ${PORT}
|
5
scripts/start_setup.sh
Executable file
5
scripts/start_setup.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
pushd ${GENEWEBDB}
|
||||
gwsetup -p ${SETUP_PORT} -gd ${GENEWEBSHARE} -lang ${LANGUAGE} -only /setup_ips.txt -log ${SETUP_LOGFILE} &
|
||||
popd
|
Reference in New Issue
Block a user