adjustings after fork

This commit is contained in:
2018-12-12 17:23:49 +01:00
parent 19b4cac4c5
commit 06dd167563
9 changed files with 20 additions and 118 deletions

2
scripts/README-SETUP.txt Normal file
View File

@ -0,0 +1,2 @@
cd /genewebData
/opt/geneweb/gw/ged2gwb -f /mnt/nober.ged -o nober > comm.log

View File

@ -1,9 +1,5 @@
#!/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}
/opt/geneweb/gw/gwd -lang${LANGUAGE} -hd${GENEWEBSHARE} -bd${GENEWEBDB} -p${PORT}

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
pushd ${GENEWEBDB}
if [ -n "${HOST_IP}" ]; then
echo "${HOST_IP}" > /setup_ips.txt
fi
gwsetup -p${SETUP_PORT} -gd${GENEWEBSHARE} -lang${LANGUAGE} -log${SETUP_LOGFILE} -only/setup_ips.txt
popd